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