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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
availabilityDomain
public 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
-
compartmentId
public ReplicationTarget.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
id
public ReplicationTarget.Builder id(String id)
The OCID of the replication.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public ReplicationTarget.Builder lifecycleState(ReplicationTarget.LifecycleState lifecycleState)
The current state of this replication.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
displayName
public 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
-
timeCreated
public 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
-
sourceId
public ReplicationTarget.Builder sourceId(String sourceId)
The OCID of source filesystem.- Parameters:
sourceId- the value to set- Returns:
- this builder
-
targetId
public ReplicationTarget.Builder targetId(String targetId)
The OCID of target filesystem.- Parameters:
targetId- the value to set- Returns:
- this builder
-
replicationId
public ReplicationTarget.Builder replicationId(String replicationId)
The OCID of replication.- Parameters:
replicationId- the value to set- Returns:
- this builder
-
lastSnapshotId
public 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
-
recoveryPointTime
public 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
-
deltaStatus
public ReplicationTarget.Builder deltaStatus(ReplicationTarget.DeltaStatus deltaStatus)
The current state of the snapshot during replication operations.- Parameters:
deltaStatus- the value to set- Returns:
- this builder
-
deltaProgress
public ReplicationTarget.Builder deltaProgress(Long deltaProgress)
Percentage progress of the current replication cycle.- Parameters:
deltaProgress- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
lifecycleDetails
public ReplicationTarget.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
build
public ReplicationTarget build()
-
copy
public ReplicationTarget.Builder copy(ReplicationTarget model)
-
-