public static class ReplicationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReplicationSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the replication is in.
|
ReplicationSummary |
build() |
ReplicationSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the replication.
|
ReplicationSummary.Builder |
copy(ReplicationSummary model) |
ReplicationSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ReplicationSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
ReplicationSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ReplicationSummary.Builder |
id(String id)
The OCID of the
replication.
|
ReplicationSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current
lifecycleState . |
ReplicationSummary.Builder |
lifecycleState(ReplicationSummary.LifecycleState lifecycleState)
The current state of this replication.
|
ReplicationSummary.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
ReplicationSummary.Builder |
recoveryPointTime(Date recoveryPointTime)
The
snapshotTime of the most recent recoverable replication snapshot in RFC
3339 timestamp format. |
ReplicationSummary.Builder |
replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
|
ReplicationSummary.Builder |
timeCreated(Date timeCreated)
The date and time the replication was created in RFC
3339 timestamp format.
|
public ReplicationSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the replication is in. The replication must be in the same
availability domain as the source file system. Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic ReplicationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the replication.
compartmentId
- the value to setpublic ReplicationSummary.Builder id(String id)
The OCID of the replication.
id
- the value to setpublic ReplicationSummary.Builder lifecycleState(ReplicationSummary.LifecycleState lifecycleState)
The current state of this replication. This resource can be in a FAILED
state if
replication target is deleted instead of the replication resource.
lifecycleState
- the value to setpublic ReplicationSummary.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 ReplicationSummary.Builder timeCreated(Date timeCreated)
The date and time the replication was created in RFC
3339 timestamp format. Example: 2020-02-04T21:10:29.600Z
timeCreated
- the value to setpublic ReplicationSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic ReplicationSummary.Builder replicationInterval(Long replicationInterval)
Duration in minutes between replication snapshots.
replicationInterval
- the value to setpublic ReplicationSummary.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 ReplicationSummary.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 ReplicationSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycleState
.
lifecycleDetails
- the value to setpublic ReplicationSummary.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 ReplicationSummary build()
public ReplicationSummary.Builder copy(ReplicationSummary model)
Copyright © 2016–2024. All rights reserved.