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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDatabaseGroupbuild()TargetDatabaseGroup.BuildercompartmentId(String compartmentId)The OCID for the compartment containing the target database group.TargetDatabaseGroup.Buildercopy(TargetDatabaseGroup model)TargetDatabaseGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TargetDatabaseGroup.Builderdescription(String description)Description of the target database group.TargetDatabaseGroup.BuilderdisplayName(String displayName)The name of the target database group.TargetDatabaseGroup.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TargetDatabaseGroup.Builderid(String id)The OCID of the specified target database group.TargetDatabaseGroup.BuilderlifecycleDetails(String lifecycleDetails)Details for the lifecycle status of the target database group.TargetDatabaseGroup.BuilderlifecycleState(TargetDatabaseGroupLifecycleState lifecycleState)The lifecycle status of the target database group.TargetDatabaseGroup.BuildermatchingCriteria(MatchingCriteria matchingCriteria)TargetDatabaseGroup.BuildermembershipCount(Integer membershipCount)The number of target databases in the specified target database group.TargetDatabaseGroup.BuildermembershipUpdateTime(Date membershipUpdateTime)Time when the members of the target database group were last changed, i.e.TargetDatabaseGroup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TargetDatabaseGroup.BuildertimeCreated(Date timeCreated)Time when the target database group was created.TargetDatabaseGroup.BuildertimeUpdated(Date timeUpdated)Time when the target database group was last updated.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic TargetDatabaseGroup.Builder compartmentId(String compartmentId) The OCID for the compartment containing the target database group.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic TargetDatabaseGroup.Builder id(String id) The OCID of the specified target database group.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TargetDatabaseGroup.Builder displayName(String displayName) The name of the target database group.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TargetDatabaseGroup.Builder description(String description) Description of the target database group.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TargetDatabaseGroup.Builder lifecycleState(TargetDatabaseGroupLifecycleState lifecycleState) The lifecycle status of the target database group.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic TargetDatabaseGroup.Builder lifecycleDetails(String lifecycleDetails) Details for the lifecycle status of the target database group.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
matchingCriteriapublic TargetDatabaseGroup.Builder matchingCriteria(MatchingCriteria matchingCriteria) 
 - 
timeCreatedpublic TargetDatabaseGroup.Builder timeCreated(Date timeCreated) Time when the target database group was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic TargetDatabaseGroup.Builder timeUpdated(Date timeUpdated) Time when the target database group was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
membershipUpdateTimepublic 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
 
 - 
membershipCountpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic TargetDatabaseGroup build() 
 - 
copypublic TargetDatabaseGroup.Builder copy(TargetDatabaseGroup model) 
 
- 
 
-