public static class DrProtectionGroupSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrProtectionGroupSummary |
build() |
DrProtectionGroupSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the DR protection group.
|
DrProtectionGroupSummary.Builder |
copy(DrProtectionGroupSummary model) |
DrProtectionGroupSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrProtectionGroupSummary.Builder |
displayName(String displayName)
The display name of the DR protection group.
|
DrProtectionGroupSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrProtectionGroupSummary.Builder |
id(String id)
The OCID of the DR protection group.
|
DrProtectionGroupSummary.Builder |
lifeCycleDetails(String lifeCycleDetails)
A message describing the DR protection group’s current state in more detail.
|
DrProtectionGroupSummary.Builder |
lifecycleState(DrProtectionGroupLifecycleState lifecycleState)
The current state of the DR protection group.
|
DrProtectionGroupSummary.Builder |
lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)
The current sub-state of the DR protection group.
|
DrProtectionGroupSummary.Builder |
peerId(String peerId)
The OCID of the peer DR protection group.
|
DrProtectionGroupSummary.Builder |
peerRegion(String peerRegion)
The region of the peer DR protection group.
|
DrProtectionGroupSummary.Builder |
role(DrProtectionGroupRole role)
The role of the DR protection group.
|
DrProtectionGroupSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DrProtectionGroupSummary.Builder |
timeCreated(Date timeCreated)
The date and time the DR protection group was created.
|
DrProtectionGroupSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the DR protection group was updated.
|
public DrProtectionGroupSummary.Builder id(String id)
The OCID of the DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
id
- the value to setpublic DrProtectionGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DR protection group.
Example: ocid1.compartment.oc1..uniqueID
compartmentId
- the value to setpublic DrProtectionGroupSummary.Builder displayName(String displayName)
The display name of the DR protection group.
Example: EBS PHX Group
displayName
- the value to setpublic DrProtectionGroupSummary.Builder role(DrProtectionGroupRole role)
The role of the DR protection group.
role
- the value to setpublic DrProtectionGroupSummary.Builder peerId(String peerId)
The OCID of the peer DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
peerId
- the value to setpublic DrProtectionGroupSummary.Builder peerRegion(String peerRegion)
The region of the peer DR protection group.
Example: us-ashburn-1
peerRegion
- the value to setpublic DrProtectionGroupSummary.Builder timeCreated(Date timeCreated)
The date and time the DR protection group was created. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeCreated
- the value to setpublic DrProtectionGroupSummary.Builder timeUpdated(Date timeUpdated)
The date and time the DR protection group was updated. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeUpdated
- the value to setpublic DrProtectionGroupSummary.Builder lifecycleState(DrProtectionGroupLifecycleState lifecycleState)
The current state of the DR protection group.
lifecycleState
- the value to setpublic DrProtectionGroupSummary.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR protection group’s current state in more detail.
lifeCycleDetails
- the value to setpublic DrProtectionGroupSummary.Builder lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)
The current sub-state of the DR protection group.
lifecycleSubState
- the value to setpublic DrProtectionGroupSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic DrProtectionGroupSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic DrProtectionGroupSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic DrProtectionGroupSummary build()
public DrProtectionGroupSummary.Builder copy(DrProtectionGroupSummary model)
Copyright © 2016–2024. All rights reserved.