Package com.oracle.bmc.datasafe.model
Class TargetDatabaseGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.TargetDatabaseGroup.Builder
-
- Enclosing class:
- TargetDatabaseGroup
public static class TargetDatabaseGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDatabaseGroup
build()
TargetDatabaseGroup.Builder
compartmentId(String compartmentId)
The OCID for the compartment containing the target database group.TargetDatabaseGroup.Builder
copy(TargetDatabaseGroup model)
TargetDatabaseGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.TargetDatabaseGroup.Builder
description(String description)
Description of the target database group.TargetDatabaseGroup.Builder
displayName(String displayName)
The name of the target database group.TargetDatabaseGroup.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.TargetDatabaseGroup.Builder
id(String id)
The OCID of the specified target database group.TargetDatabaseGroup.Builder
lifecycleDetails(String lifecycleDetails)
Details for the lifecycle status of the target database group.TargetDatabaseGroup.Builder
lifecycleState(TargetDatabaseGroupLifecycleState lifecycleState)
The lifecycle status of the target database group.TargetDatabaseGroup.Builder
matchingCriteria(MatchingCriteria matchingCriteria)
TargetDatabaseGroup.Builder
membershipCount(Integer membershipCount)
The number of target databases in the specified target database group.TargetDatabaseGroup.Builder
membershipUpdateTime(Date membershipUpdateTime)
Time when the members of the target database group were last changed, i.e.TargetDatabaseGroup.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.TargetDatabaseGroup.Builder
timeCreated(Date timeCreated)
Time when the target database group was created.TargetDatabaseGroup.Builder
timeUpdated(Date timeUpdated)
Time when the target database group was last updated.
-
-
-
Method Detail
-
compartmentId
public TargetDatabaseGroup.Builder compartmentId(String compartmentId)
The OCID for the compartment containing the target database group.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
id
public TargetDatabaseGroup.Builder id(String id)
The OCID of the specified target database group.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public TargetDatabaseGroup.Builder displayName(String displayName)
The name of the target database group.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public TargetDatabaseGroup.Builder description(String description)
Description of the target database group.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public TargetDatabaseGroup.Builder lifecycleState(TargetDatabaseGroupLifecycleState lifecycleState)
The lifecycle status of the target database group.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TargetDatabaseGroup.Builder lifecycleDetails(String lifecycleDetails)
Details for the lifecycle status of the target database group.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
matchingCriteria
public TargetDatabaseGroup.Builder matchingCriteria(MatchingCriteria matchingCriteria)
-
timeCreated
public TargetDatabaseGroup.Builder timeCreated(Date timeCreated)
Time when the target database group was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public TargetDatabaseGroup.Builder timeUpdated(Date timeUpdated)
Time when the target database group was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
membershipUpdateTime
public TargetDatabaseGroup.Builder membershipUpdateTime(Date membershipUpdateTime)
Time when the members of the target database group were last changed, i.e.the list was refreshed, a target database was added or removed.
- Parameters:
membershipUpdateTime
- the value to set- Returns:
- this builder
-
membershipCount
public TargetDatabaseGroup.Builder membershipCount(Integer membershipCount)
The number of target databases in the specified target database group.- Parameters:
membershipCount
- the value to set- Returns:
- this builder
-
freeformTags
public TargetDatabaseGroup.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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public TargetDatabaseGroup.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public TargetDatabaseGroup.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. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public TargetDatabaseGroup build()
-
copy
public TargetDatabaseGroup.Builder copy(TargetDatabaseGroup model)
-
-