public static class Replication.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Replication.Builder |
availabilityDomain(String availabilityDomain)
The availability domain that contains the replication.
|
Replication |
build() |
Replication.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the replication.
|
Replication.Builder |
copy(Replication model) |
Replication.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Replication.Builder |
deltaProgress(Long deltaProgress)
Percentage progress of the current replication cycle.
|
Replication.Builder |
deltaStatus(Replication.DeltaStatus deltaStatus)
The current state of the snapshot during replication operations.
|
Replication.Builder |
displayName(String displayName)
A user-friendly name.
|
Replication.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Replication.Builder |
id(String id)
The OCID of the
replication.
|
Replication.Builder |
lastSnapshotId(String lastSnapshotId)
The OCID of the
last snapshot that has been replicated completely.
|
Replication.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
|
Replication.Builder |
lifecycleState(Replication.LifecycleState lifecycleState)
The current lifecycle state of the replication.
|
Replication.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
Replication.Builder |
recoveryPointTime(Date recoveryPointTime)
The
snapshotTime of the most recent
recoverable replication snapshot in RFC 3339
timestamp format. |
Replication.Builder |
replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
|
Replication.Builder |
replicationTargetId(String replicationTargetId)
The OCID of the
ReplicationTarget . |
Replication.Builder |
sourceId(String sourceId)
The OCID of the
source file system.
|
Replication.Builder |
targetId(String targetId)
The OCID of the
target file system.
|
Replication.Builder |
timeCreated(Date timeCreated)
The date and time the replication was created in RFC
3339 timestamp format.
|
public Replication.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.
compartmentId
- the value to setpublic Replication.Builder availabilityDomain(String availabilityDomain)
The availability domain that contains the replication. May be unset as a blank or NULL
value. Example: Uocm:PHX-AD-2
availabilityDomain
- the value to setpublic Replication.Builder id(String id)
The OCID of the replication.
id
- the value to setpublic Replication.Builder lifecycleState(Replication.LifecycleState lifecycleState)
The current lifecycle state of the replication.
lifecycleState
- the value to setpublic Replication.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
displayName
- the value to setpublic Replication.Builder timeCreated(Date timeCreated)
The date and time the replication was created in RFC 3339 timestamp format.
Example: 2021-01-04T20:01:29.100Z
timeCreated
- the value to setpublic Replication.Builder sourceId(String sourceId)
The OCID of the source file system.
sourceId
- the value to setpublic Replication.Builder targetId(String targetId)
The OCID of the target file system.
targetId
- the value to setpublic Replication.Builder replicationTargetId(String replicationTargetId)
The OCID of the
ReplicationTarget
.
replicationTargetId
- the value to setpublic Replication.Builder replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
replicationInterval
- the value to setpublic Replication.Builder lastSnapshotId(String lastSnapshotId)
The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
lastSnapshotId
- the value to setpublic Replication.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
recoveryPointTime
- the value to setpublic Replication.Builder deltaStatus(Replication.DeltaStatus deltaStatus)
The current state of the snapshot during replication operations.
deltaStatus
- the value to setpublic Replication.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
lifecycleDetails
- the value to setpublic Replication.Builder deltaProgress(Long deltaProgress)
Percentage progress of the current replication cycle.
deltaProgress
- the value to setpublic Replication.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic Replication.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 Replication.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 Replication build()
public Replication.Builder copy(Replication model)
Copyright © 2016–2024. All rights reserved.