Class DrProtectionGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrProtectionGroupSummary.Builder
-
- Enclosing class:
- DrProtectionGroupSummary
public static class DrProtectionGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrProtectionGroupSummarybuild()DrProtectionGroupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DR protection group.DrProtectionGroupSummary.Buildercopy(DrProtectionGroupSummary model)DrProtectionGroupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrProtectionGroupSummary.BuilderdisplayName(String displayName)The display name of the DR protection group.DrProtectionGroupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrProtectionGroupSummary.Builderid(String id)The OCID of the DR protection group.DrProtectionGroupSummary.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR protection group’s current state in more detail.DrProtectionGroupSummary.BuilderlifecycleState(DrProtectionGroupLifecycleState lifecycleState)The current state of the DR protection group.DrProtectionGroupSummary.BuilderlifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)The current sub-state of the DR protection group.DrProtectionGroupSummary.BuilderpeerId(String peerId)The OCID of the peer DR protection group.DrProtectionGroupSummary.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group.DrProtectionGroupSummary.Builderrole(DrProtectionGroupRole role)The role of the DR protection group.DrProtectionGroupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrProtectionGroupSummary.BuildertimeCreated(Date timeCreated)The date and time the DR protection group was created.DrProtectionGroupSummary.BuildertimeUpdated(Date timeUpdated)The date and time the DR protection group was updated.
-
-
-
Method Detail
-
id
public DrProtectionGroupSummary.Builder id(String id)
The OCID of the DR protection group.Example: ocid1.drprotectiongroup.oc1..uniqueID
- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public DrProtectionGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DR protection group.Example: ocid1.compartment.oc1..uniqueID
- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public DrProtectionGroupSummary.Builder displayName(String displayName)
The display name of the DR protection group.Example: EBS PHX Group
- Parameters:
displayName- the value to set- Returns:
- this builder
-
role
public DrProtectionGroupSummary.Builder role(DrProtectionGroupRole role)
The role of the DR protection group.- Parameters:
role- the value to set- Returns:
- this builder
-
peerId
public DrProtectionGroupSummary.Builder peerId(String peerId)
The OCID of the peer DR protection group.Example: ocid1.drprotectiongroup.oc1..uniqueID
- Parameters:
peerId- the value to set- Returns:
- this builder
-
peerRegion
public DrProtectionGroupSummary.Builder peerRegion(String peerRegion)
The region of the peer DR protection group.Example: us-ashburn-1
- Parameters:
peerRegion- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DrProtectionGroupSummary.Builder lifecycleState(DrProtectionGroupLifecycleState lifecycleState)
The current state of the DR protection group.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifeCycleDetails
public DrProtectionGroupSummary.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR protection group’s current state in more detail.- Parameters:
lifeCycleDetails- the value to set- Returns:
- this builder
-
lifecycleSubState
public DrProtectionGroupSummary.Builder lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)
The current sub-state of the DR protection group.- Parameters:
lifecycleSubState- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public DrProtectionGroupSummary build()
-
copy
public DrProtectionGroupSummary.Builder copy(DrProtectionGroupSummary model)
-
-