public static class DrProtectionGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrProtectionGroup |
build() |
DrProtectionGroup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the DR protection group.
|
DrProtectionGroup.Builder |
copy(DrProtectionGroup model) |
DrProtectionGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrProtectionGroup.Builder |
displayName(String displayName)
The display name of the DR protection group.
|
DrProtectionGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrProtectionGroup.Builder |
id(String id)
The OCID of the DR protection group.
|
DrProtectionGroup.Builder |
lifeCycleDetails(String lifeCycleDetails)
A message describing the DR protection group’s current state in more detail.
|
DrProtectionGroup.Builder |
lifecycleState(DrProtectionGroupLifecycleState lifecycleState)
The current state of the DR protection group.
|
DrProtectionGroup.Builder |
lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)
The current sub-state of the DR protection group.
|
DrProtectionGroup.Builder |
logLocation(ObjectStorageLogLocation logLocation) |
DrProtectionGroup.Builder |
members(List<DrProtectionGroupMember> members)
A list of DR protection group members.
|
DrProtectionGroup.Builder |
peerId(String peerId)
The OCID of the peer DR protection group.
|
DrProtectionGroup.Builder |
peerRegion(String peerRegion)
The region of the peer DR protection group.
|
DrProtectionGroup.Builder |
role(DrProtectionGroupRole role)
The role of the DR protection group.
|
DrProtectionGroup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DrProtectionGroup.Builder |
timeCreated(Date timeCreated)
The date and time the DR protection group was created.
|
DrProtectionGroup.Builder |
timeUpdated(Date timeUpdated)
The date and time the DR protection group was updated.
|
public DrProtectionGroup.Builder id(String id)
The OCID of the DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
id
- the value to setpublic DrProtectionGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DR protection group.
Example: ocid1.compartment.oc1..uniqueID
compartmentId
- the value to setpublic DrProtectionGroup.Builder displayName(String displayName)
The display name of the DR protection group.
Example: EBS PHX Group
displayName
- the value to setpublic DrProtectionGroup.Builder role(DrProtectionGroupRole role)
The role of the DR protection group.
role
- the value to setpublic DrProtectionGroup.Builder peerId(String peerId)
The OCID of the peer DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
peerId
- the value to setpublic DrProtectionGroup.Builder peerRegion(String peerRegion)
The region of the peer DR protection group.
Example: us-ashburn-1
peerRegion
- the value to setpublic DrProtectionGroup.Builder logLocation(ObjectStorageLogLocation logLocation)
public DrProtectionGroup.Builder members(List<DrProtectionGroupMember> members)
A list of DR protection group members.
members
- the value to setpublic DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.Builder lifecycleState(DrProtectionGroupLifecycleState lifecycleState)
The current state of the DR protection group.
lifecycleState
- the value to setpublic DrProtectionGroup.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR protection group’s current state in more detail.
lifeCycleDetails
- the value to setpublic DrProtectionGroup.Builder lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)
The current sub-state of the DR protection group.
lifecycleSubState
- the value to setpublic DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup build()
public DrProtectionGroup.Builder copy(DrProtectionGroup model)
Copyright © 2016–2024. All rights reserved.