Package com.oracle.bmc.filestorage.model
Class CreateReplicationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.CreateReplicationDetails.Builder
-
- Enclosing class:
- CreateReplicationDetails
public static class CreateReplicationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateReplicationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
sourceId
public CreateReplicationDetails.Builder sourceId(String sourceId)
The OCID of the source file system.- Parameters:
sourceId
- the value to set- Returns:
- this builder
-
targetId
public CreateReplicationDetails.Builder targetId(String targetId)
The OCID of the target file system.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
displayName
public CreateReplicationDetails.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same displayName. Example: My replication
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
replicationInterval
public CreateReplicationDetails.Builder replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.- Parameters:
replicationInterval
- the value to set- Returns:
- this builder
-
freeformTags
public CreateReplicationDetails.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 CreateReplicationDetails.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
-
locks
public CreateReplicationDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public CreateReplicationDetails build()
-
copy
public CreateReplicationDetails.Builder copy(CreateReplicationDetails model)
-
-