Package com.oracle.bmc.mysql.model
Class CreateReplicaDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.CreateReplicaDetails.Builder
 
- 
- Enclosing class:
- CreateReplicaDetails
 
 public static class CreateReplicaDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicaDetailsbuild()CreateReplicaDetails.Buildercopy(CreateReplicaDetails model)CreateReplicaDetails.BuilderdbSystemId(String dbSystemId)The OCID of the DB System the read replica is associated with.CreateReplicaDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateReplicaDetails.Builderdescription(String description)User provided description of the read replica.CreateReplicaDetails.BuilderdisplayName(String displayName)The user-friendly name for the read replica.CreateReplicaDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateReplicaDetails.BuilderisDeleteProtected(Boolean isDeleteProtected)Specifies whether the read replica can be deleted.CreateReplicaDetails.BuilderreplicaOverrides(ReplicaOverrides replicaOverrides)
 
- 
- 
- 
Method Detail- 
dbSystemIdpublic CreateReplicaDetails.Builder dbSystemId(String dbSystemId) The OCID of the DB System the read replica is associated with.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateReplicaDetails.Builder displayName(String displayName) The user-friendly name for the read replica.It does not have to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateReplicaDetails.Builder description(String description) User provided description of the read replica.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateReplicaDetails.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateReplicaDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
isDeleteProtectedpublic CreateReplicaDetails.Builder isDeleteProtected(Boolean isDeleteProtected) Specifies whether the read replica can be deleted.Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - Parameters:
- isDeleteProtected- the value to set
- Returns:
- this builder
 
 - 
replicaOverridespublic CreateReplicaDetails.Builder replicaOverrides(ReplicaOverrides replicaOverrides) 
 - 
buildpublic CreateReplicaDetails build() 
 - 
copypublic CreateReplicaDetails.Builder copy(CreateReplicaDetails model) 
 
- 
 
-