Package com.oracle.bmc.filestorage.model
Class ReplicationTarget.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.ReplicationTarget.Builder
 
- 
- Enclosing class:
- ReplicationTarget
 
 public static class ReplicationTarget.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationTarget.BuilderavailabilityDomain(String availabilityDomain)The availability domain the replication resource is in.ReplicationTargetbuild()ReplicationTarget.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the replication.ReplicationTarget.Buildercopy(ReplicationTarget model)ReplicationTarget.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ReplicationTarget.BuilderdeltaProgress(Long deltaProgress)Percentage progress of the current replication cycle.ReplicationTarget.BuilderdeltaStatus(ReplicationTarget.DeltaStatus deltaStatus)The current state of the snapshot during replication operations.ReplicationTarget.BuilderdisplayName(String displayName)A user-friendly name.ReplicationTarget.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ReplicationTarget.Builderid(String id)The OCID of the replication.ReplicationTarget.BuilderlastSnapshotId(String lastSnapshotId)The OCID of the last snapshot snapshot which was completely applied to the target file system.ReplicationTarget.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycleState.ReplicationTarget.BuilderlifecycleState(ReplicationTarget.LifecycleState lifecycleState)The current state of this replication.ReplicationTarget.BuilderrecoveryPointTime(Date recoveryPointTime)The snapshotTime of the most recent recoverable replication snapshot in RFC 3339 timestamp format.ReplicationTarget.BuilderreplicationId(String replicationId)The OCID of replication.ReplicationTarget.BuildersourceId(String sourceId)The OCID of source filesystem.ReplicationTarget.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ReplicationTarget.BuildertargetId(String targetId)The OCID of target filesystem.ReplicationTarget.BuildertimeCreated(Date timeCreated)The date and time the replication target was created in target region.
 
- 
- 
- 
Method Detail- 
availabilityDomainpublic ReplicationTarget.Builder availabilityDomain(String availabilityDomain) The availability domain the replication resource is in.May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ReplicationTarget.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the replication.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic ReplicationTarget.Builder id(String id) The OCID of the replication.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ReplicationTarget.Builder lifecycleState(ReplicationTarget.LifecycleState lifecycleState) The current state of this replication.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ReplicationTarget.Builder displayName(String displayName) A user-friendly name.This name is same as the replication display name for the associated resource. Example: My Replication - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ReplicationTarget.Builder timeCreated(Date timeCreated) The date and time the replication target was created in target region.in RFC 3339 timestamp format. Example: 2021-01-04T20:01:29.100Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
sourceIdpublic ReplicationTarget.Builder sourceId(String sourceId) The OCID of source filesystem.- Parameters:
- sourceId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic ReplicationTarget.Builder targetId(String targetId) The OCID of target filesystem.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
replicationIdpublic ReplicationTarget.Builder replicationId(String replicationId) The OCID of replication.- Parameters:
- replicationId- the value to set
- Returns:
- this builder
 
 - 
lastSnapshotIdpublic ReplicationTarget.Builder lastSnapshotId(String lastSnapshotId) The OCID of the last snapshot snapshot which was completely applied to the target file system.Empty while the initial snapshot is being applied. - Parameters:
- lastSnapshotId- the value to set
- Returns:
- this builder
 
 - 
recoveryPointTimepublic ReplicationTarget.Builder recoveryPointTime(Date recoveryPointTime) The snapshotTime of 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 ReplicationTarget.Builder deltaStatus(ReplicationTarget.DeltaStatus deltaStatus) The current state of the snapshot during replication operations.- Parameters:
- deltaStatus- the value to set
- Returns:
- this builder
 
 - 
deltaProgresspublic ReplicationTarget.Builder deltaProgress(Long deltaProgress) Percentage progress of the current replication cycle.- Parameters:
- deltaProgress- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ReplicationTarget.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 ReplicationTarget.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 ReplicationTarget.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
 
 - 
lifecycleDetailspublic ReplicationTarget.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
buildpublic ReplicationTarget build() 
 - 
copypublic ReplicationTarget.Builder copy(ReplicationTarget model) 
 
- 
 
-