Package com.oracle.bmc.goldengate.model
Class DeploymentPeerSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.DeploymentPeerSummary.Builder
 
- 
- Enclosing class:
- DeploymentPeerSummary
 
 public static class DeploymentPeerSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentPeerSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain of a placement.DeploymentPeerSummarybuild()DeploymentPeerSummary.BuilderclusterPlacementGroupId(String clusterPlacementGroupId)The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.DeploymentPeerSummary.Buildercopy(DeploymentPeerSummary model)DeploymentPeerSummary.BuilderdeploymentId(String deploymentId)The OCID of the deployment being referenced.DeploymentPeerSummary.BuilderdisplayName(String displayName)An object’s Display Name.DeploymentPeerSummary.BuilderfaultDomain(String faultDomain)The fault domain of a placement.DeploymentPeerSummary.BuilderlifecycleState(DeploymentPeerSummary.LifecycleState lifecycleState)Possible lifecycle states for deployment peer.DeploymentPeerSummary.BuilderpeerRole(DeploymentRole peerRole)The type of the deployment role.DeploymentPeerSummary.BuilderpeerType(DeploymentPeerType peerType)The type of the deployment peer.DeploymentPeerSummary.Builderregion(String region)The name of the region.DeploymentPeerSummary.BuildersubscriptionId(String subscriptionId)The OCID of the subscription with which resource needs to be associated with.DeploymentPeerSummary.BuildertimeCreated(Date timeCreated)The time the resource was created.DeploymentPeerSummary.BuildertimeLastSynced(Date timeLastSynced)The time of the last data synchronization from the primary to the standby peer.DeploymentPeerSummary.BuildertimeRoleChanged(Date timeRoleChanged)The time of the last role change.DeploymentPeerSummary.BuildertimeUpdated(Date timeUpdated)The time the resource was last updated.
 
- 
- 
- 
Method Detail- 
deploymentIdpublic DeploymentPeerSummary.Builder deploymentId(String deploymentId) The OCID of the deployment being referenced.- Parameters:
- deploymentId- the value to set
- Returns:
- this builder
 
 - 
regionpublic DeploymentPeerSummary.Builder region(String region) The name of the region.e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. - Parameters:
- region- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic DeploymentPeerSummary.Builder availabilityDomain(String availabilityDomain) The availability domain of a placement.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
faultDomainpublic DeploymentPeerSummary.Builder faultDomain(String faultDomain) The fault domain of a placement.- Parameters:
- faultDomain- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DeploymentPeerSummary.Builder displayName(String displayName) An object’s Display Name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
peerTypepublic DeploymentPeerSummary.Builder peerType(DeploymentPeerType peerType) The type of the deployment peer.- Parameters:
- peerType- the value to set
- Returns:
- this builder
 
 - 
peerRolepublic DeploymentPeerSummary.Builder peerRole(DeploymentRole peerRole) The type of the deployment role.- Parameters:
- peerRole- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DeploymentPeerSummary.Builder timeCreated(Date timeCreated) The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DeploymentPeerSummary.Builder timeUpdated(Date timeUpdated) The time the resource was last updated.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeRoleChangedpublic DeploymentPeerSummary.Builder timeRoleChanged(Date timeRoleChanged) The time of the last role change.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Parameters:
- timeRoleChanged- the value to set
- Returns:
- this builder
 
 - 
timeLastSyncedpublic DeploymentPeerSummary.Builder timeLastSynced(Date timeLastSynced) The time of the last data synchronization from the primary to the standby peer.RFC3339, such as 2016-08-25T21:10:29.600Z. - Parameters:
- timeLastSynced- the value to set
- Returns:
- this builder
 
 - 
subscriptionIdpublic DeploymentPeerSummary.Builder subscriptionId(String subscriptionId) The OCID of the subscription with which resource needs to be associated with.- Parameters:
- subscriptionId- the value to set
- Returns:
- this builder
 
 - 
clusterPlacementGroupIdpublic DeploymentPeerSummary.Builder clusterPlacementGroupId(String clusterPlacementGroupId) The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud subscription id is provided. Otherwise the cluster placement group must not be provided. - Parameters:
- clusterPlacementGroupId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DeploymentPeerSummary.Builder lifecycleState(DeploymentPeerSummary.LifecycleState lifecycleState) Possible lifecycle states for deployment peer.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
buildpublic DeploymentPeerSummary build() 
 - 
copypublic DeploymentPeerSummary.Builder copy(DeploymentPeerSummary model) 
 
- 
 
-