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