public static class ManagedDatabaseGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagedDatabaseGroup |
build() |
ManagedDatabaseGroup.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ManagedDatabaseGroup.Builder |
copy(ManagedDatabaseGroup model) |
ManagedDatabaseGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagedDatabaseGroup.Builder |
description(String description)
The information specified by the user about the Managed Database Group.
|
ManagedDatabaseGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ManagedDatabaseGroup.Builder |
id(String id)
The OCID of the
Managed Database Group.
|
ManagedDatabaseGroup.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the Managed Database Group.
|
ManagedDatabaseGroup.Builder |
managedDatabases(List<ChildDatabase> managedDatabases)
A list of Managed Databases in the Managed Database Group.
|
ManagedDatabaseGroup.Builder |
name(String name)
The name of the Managed Database Group.
|
ManagedDatabaseGroup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ManagedDatabaseGroup.Builder |
timeCreated(Date timeCreated)
The date and time the Managed Database Group was created.
|
ManagedDatabaseGroup.Builder |
timeUpdated(Date timeUpdated)
The date and time the Managed Database Group was last updated.
|
public ManagedDatabaseGroup.Builder name(String name)
The name of the Managed Database Group.
name
- the value to setpublic ManagedDatabaseGroup.Builder id(String id)
The OCID of the Managed Database Group.
id
- the value to setpublic ManagedDatabaseGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ManagedDatabaseGroup.Builder description(String description)
The information specified by the user about the Managed Database Group.
description
- the value to setpublic ManagedDatabaseGroup.Builder managedDatabases(List<ChildDatabase> managedDatabases)
A list of Managed Databases in the Managed Database Group.
managedDatabases
- the value to setpublic ManagedDatabaseGroup.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the Managed Database Group.
lifecycleState
- the value to setpublic ManagedDatabaseGroup.Builder timeCreated(Date timeCreated)
The date and time the Managed Database Group was created.
timeCreated
- the value to setpublic ManagedDatabaseGroup.Builder timeUpdated(Date timeUpdated)
The date and time the Managed Database Group was last updated.
timeUpdated
- the value to setpublic ManagedDatabaseGroup.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic ManagedDatabaseGroup.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic ManagedDatabaseGroup.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ManagedDatabaseGroup build()
public ManagedDatabaseGroup.Builder copy(ManagedDatabaseGroup model)
Copyright © 2016–2024. All rights reserved.