Class ReplicationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.ReplicationSummary.Builder
-
- Enclosing class:
- ReplicationSummary
public static class ReplicationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationSummary.Builder
availabilityDomain(String availabilityDomain)
The availability domain the replication is in.ReplicationSummary
build()
ReplicationSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.ReplicationSummary.Builder
copy(ReplicationSummary model)
ReplicationSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ReplicationSummary.Builder
displayName(String displayName)
A user-friendly name.ReplicationSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ReplicationSummary.Builder
id(String id)
The OCID of the replication.ReplicationSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState.ReplicationSummary.Builder
lifecycleState(ReplicationSummary.LifecycleState lifecycleState)
The current state of this replication.ReplicationSummary.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.ReplicationSummary.Builder
recoveryPointTime(Date recoveryPointTime)
The snapshotTime of the most recent recoverable replication snapshot in RFC 3339 timestamp format.ReplicationSummary.Builder
replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.ReplicationSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ReplicationSummary.Builder
timeCreated(Date timeCreated)
The date and time the replication was created in RFC 3339 timestamp format.
-
-
-
Method Detail
-
availabilityDomain
public ReplicationSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the replication is in.The replication must be in the same availability domain as the source file system. Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
compartmentId
public ReplicationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
id
public ReplicationSummary.Builder id(String id)
The OCID of the replication.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public ReplicationSummary.Builder lifecycleState(ReplicationSummary.LifecycleState lifecycleState)
The current state of this replication.This resource can be in a FAILED state if replication target is deleted instead of the replication resource.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
displayName
public ReplicationSummary.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
-
timeCreated
public ReplicationSummary.Builder timeCreated(Date timeCreated)
The date and time the replication was created in RFC 3339 timestamp format.Example: 2020-02-04T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
locks
public ReplicationSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
replicationInterval
public ReplicationSummary.Builder replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.- Parameters:
replicationInterval
- the value to set- Returns:
- this builder
-
freeformTags
public ReplicationSummary.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 ReplicationSummary.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 ReplicationSummary.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 ReplicationSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
recoveryPointTime
public ReplicationSummary.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
-
build
public ReplicationSummary build()
-
copy
public ReplicationSummary.Builder copy(ReplicationSummary model)
-
-