Package com.oracle.bmc.filestorage.model
Class Replication.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.Replication.Builder
 
- 
- Enclosing class:
- Replication
 
 public static class Replication.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Replication.BuilderavailabilityDomain(String availabilityDomain)The availability domain that contains the replication.Replicationbuild()Replication.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the replication.Replication.Buildercopy(Replication model)Replication.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Replication.BuilderdeltaProgress(Long deltaProgress)Percentage progress of the current replication cycle.Replication.BuilderdeltaStatus(Replication.DeltaStatus deltaStatus)The current state of the snapshot during replication operations.Replication.BuilderdisplayName(String displayName)A user-friendly name.Replication.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Replication.Builderid(String id)The OCID of the replication.Replication.BuilderlastSnapshotId(String lastSnapshotId)The OCID of the last snapshot that has been replicated completely.Replication.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current ‘lifecycleState’.Replication.BuilderlifecycleState(Replication.LifecycleState lifecycleState)The current lifecycle state of the replication.Replication.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.Replication.BuilderrecoveryPointTime(Date recoveryPointTime)ThesnapshotTimeof the most recent recoverable replication snapshot in RFC 3339 timestamp format.Replication.BuilderreplicationInterval(Long replicationInterval)Duration in minutes between replication snapshots.Replication.BuilderreplicationTargetId(String replicationTargetId)The OCID of theReplicationTarget.Replication.BuildersourceId(String sourceId)The OCID of the source file system.Replication.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Replication.BuildertargetId(String targetId)The OCID of the target file system.Replication.BuildertimeCreated(Date timeCreated)The date and time the replication was created in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic Replication.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the replication.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic Replication.Builder availabilityDomain(String availabilityDomain) The availability domain that contains the replication.May be unset as a blank or NULL value. Example: Uocm:PHX-AD-2 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
idpublic Replication.Builder id(String id) The OCID of the replication.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Replication.Builder lifecycleState(Replication.LifecycleState lifecycleState) The current lifecycle state of the replication.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Replication.Builder displayName(String displayName) A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My replication - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Replication.Builder timeCreated(Date timeCreated) The date and time the replication was created in RFC 3339 timestamp format.Example: 2021-01-04T20:01:29.100Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
sourceIdpublic Replication.Builder sourceId(String sourceId) The OCID of the source file system.- Parameters:
- sourceId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic Replication.Builder targetId(String targetId) The OCID of the target file system.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
replicationTargetIdpublic Replication.Builder replicationTargetId(String replicationTargetId) The OCID of theReplicationTarget.- Parameters:
- replicationTargetId- the value to set
- Returns:
- this builder
 
 - 
replicationIntervalpublic Replication.Builder replicationInterval(Long replicationInterval) Duration in minutes between replication snapshots.- Parameters:
- replicationInterval- the value to set
- Returns:
- this builder
 
 - 
lastSnapshotIdpublic Replication.Builder lastSnapshotId(String lastSnapshotId) The OCID of the last snapshot that has been replicated completely.Empty if the copy of the initial snapshot is not complete. - Parameters:
- lastSnapshotId- the value to set
- Returns:
- this builder
 
 - 
recoveryPointTimepublic Replication.Builder recoveryPointTime(Date recoveryPointTime) ThesnapshotTimeof the most recent recoverable replication snapshot in RFC 3339 timestamp format.Example: 2021-04-04T20:01:29.100Z - Parameters:
- recoveryPointTime- the value to set
- Returns:
- this builder
 
 - 
deltaStatuspublic Replication.Builder deltaStatus(Replication.DeltaStatus deltaStatus) The current state of the snapshot during replication operations.- Parameters:
- deltaStatus- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Replication.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current ‘lifecycleState’.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
deltaProgresspublic Replication.Builder deltaProgress(Long deltaProgress) Percentage progress of the current replication cycle.- Parameters:
- deltaProgress- the value to set
- Returns:
- this builder
 
 - 
lockspublic Replication.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Replication.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 Replication.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 Replication.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.System tags are applied to resources by internal OCI services. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Replication build() 
 - 
copypublic Replication.Builder copy(Replication model) 
 
- 
 
-