public static class CreateReplicationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationDetails |
build() |
CreateReplicationDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the replication.
|
CreateReplicationDetails.Builder |
copy(CreateReplicationDetails model) |
CreateReplicationDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateReplicationDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateReplicationDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateReplicationDetails.Builder |
replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
|
CreateReplicationDetails.Builder |
sourceId(String sourceId)
The OCID of the
source file system.
|
CreateReplicationDetails.Builder |
targetId(String targetId)
The OCID of the
target file system.
|
public CreateReplicationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.
compartmentId
- the value to setpublic CreateReplicationDetails.Builder sourceId(String sourceId)
The OCID of the source file system.
sourceId
- the value to setpublic CreateReplicationDetails.Builder targetId(String targetId)
The OCID of the target file system.
targetId
- the value to setpublic 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
displayName
- the value to setpublic CreateReplicationDetails.Builder replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
replicationInterval
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateReplicationDetails build()
public CreateReplicationDetails.Builder copy(CreateReplicationDetails model)
Copyright © 2016–2024. All rights reserved.