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