Class ReplicaSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.ReplicaSummary.Builder
 
- 
- Enclosing class:
- ReplicaSummary
 
 public static class ReplicaSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaSummary.BuilderavailabilityDomain(String availabilityDomain)The name of the Availability Domain the read replica is located in.ReplicaSummarybuild()ReplicaSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the read replica.ReplicaSummary.BuilderconfigurationId(String configurationId)The OCID of the Configuration currently in use by the read replica.ReplicaSummary.Buildercopy(ReplicaSummary model)ReplicaSummary.BuilderdbSystemId(String dbSystemId)The OCID of the DB System the read replica is associated with.ReplicaSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ReplicaSummary.Builderdescription(String description)User provided description of the read replica.ReplicaSummary.BuilderdisplayName(String displayName)The user-friendly name for the read replica.ReplicaSummary.BuilderfaultDomain(String faultDomain)The name of the Fault Domain the read replica is located in.ReplicaSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ReplicaSummary.Builderid(String id)The OCID of the read replica.ReplicaSummary.BuilderipAddress(String ipAddress)The IP address the read replica is configured to listen on.ReplicaSummary.BuilderisDeleteProtected(Boolean isDeleteProtected)Specifies whether the read replica can be deleted.ReplicaSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the state of the read replica.ReplicaSummary.BuilderlifecycleState(ReplicaSummary.LifecycleState lifecycleState)The state of the read replica.ReplicaSummary.BuildermysqlVersion(String mysqlVersion)The MySQL version currently in use by the read replica.ReplicaSummary.BuildernsgIds(List<String> nsgIds)Network Security Group OCIDs used for the VNIC attachment.ReplicaSummary.Builderport(Integer port)The port the read replica is configured to listen on.ReplicaSummary.BuilderportX(Integer portX)The TCP network port on which X Plugin listens for connections.ReplicaSummary.BuilderreplicaOverrides(ReplicaOverrides replicaOverrides)ReplicaSummary.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security Attributes for this resource.ReplicaSummary.BuildershapeName(String shapeName)The shape currently in use by the read replica.ReplicaSummary.BuildertimeCreated(Date timeCreated)The date and time the read replica was created, as described by RFC 3339.ReplicaSummary.BuildertimeUpdated(Date timeUpdated)The time the read replica was last updated, as described by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic ReplicaSummary.Builder id(String id) The OCID of the read replica.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic ReplicaSummary.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
 
 - 
compartmentIdpublic ReplicaSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the read replica.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ReplicaSummary.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 ReplicaSummary.Builder description(String description) User provided description of the read replica.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ReplicaSummary.Builder lifecycleState(ReplicaSummary.LifecycleState lifecycleState) The state of the read replica.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ReplicaSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the state of the read replica.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ReplicaSummary.Builder timeCreated(Date timeCreated) The date and time the read replica was created, as described by RFC 3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ReplicaSummary.Builder timeUpdated(Date timeUpdated) The time the read replica was last updated, as described by RFC 3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
mysqlVersionpublic ReplicaSummary.Builder mysqlVersion(String mysqlVersion) The MySQL version currently in use by the read replica.- Parameters:
- mysqlVersion- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic ReplicaSummary.Builder availabilityDomain(String availabilityDomain) The name of the Availability Domain the read replica is located in.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
faultDomainpublic ReplicaSummary.Builder faultDomain(String faultDomain) The name of the Fault Domain the read replica is located in.- Parameters:
- faultDomain- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic ReplicaSummary.Builder nsgIds(List<String> nsgIds) Network Security Group OCIDs used for the VNIC attachment.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
securityAttributespublic ReplicaSummary.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see ZPR Artifacts. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}} - Parameters:
- securityAttributes- the value to set
- Returns:
- this builder
 
 - 
ipAddresspublic ReplicaSummary.Builder ipAddress(String ipAddress) The IP address the read replica is configured to listen on.- Parameters:
- ipAddress- the value to set
- Returns:
- this builder
 
 - 
portpublic ReplicaSummary.Builder port(Integer port) The port the read replica is configured to listen on.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
portXpublic ReplicaSummary.Builder portX(Integer portX) The TCP network port on which X Plugin listens for connections.This is the X Plugin equivalent of port. - Parameters:
- portX- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ReplicaSummary.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 ReplicaSummary.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 ReplicaSummary.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
 
 - 
shapeNamepublic ReplicaSummary.Builder shapeName(String shapeName) The shape currently in use by the read replica.The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the listShapesoperation.- Parameters:
- shapeName- the value to set
- Returns:
- this builder
 
 - 
configurationIdpublic ReplicaSummary.Builder configurationId(String configurationId) The OCID of the Configuration currently in use by the read replica.- Parameters:
- configurationId- the value to set
- Returns:
- this builder
 
 - 
replicaOverridespublic ReplicaSummary.Builder replicaOverrides(ReplicaOverrides replicaOverrides) 
 - 
buildpublic ReplicaSummary build() 
 - 
copypublic ReplicaSummary.Builder copy(ReplicaSummary model) 
 
- 
 
-