Class CreateDrProtectionGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupDetails.Builder
-
- Enclosing class:
- CreateDrProtectionGroupDetails
public static class CreateDrProtectionGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateDrProtectionGroupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the DR protection group.Example: ocid1.compartment.oc1..uniqueID
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public CreateDrProtectionGroupDetails.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
-
logLocation
public CreateDrProtectionGroupDetails.Builder logLocation(CreateObjectStorageLogLocationDetails logLocation)
-
association
public CreateDrProtectionGroupDetails.Builder association(AssociateDrProtectionGroupDetails association)
-
members
public CreateDrProtectionGroupDetails.Builder members(List<CreateDrProtectionGroupMemberDetails> members)
A list of DR protection group members.- Parameters:
members
- the value to set- Returns:
- this builder
-
freeformTags
public CreateDrProtectionGroupDetails.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 CreateDrProtectionGroupDetails.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
-
build
public CreateDrProtectionGroupDetails build()
-
copy
public CreateDrProtectionGroupDetails.Builder copy(CreateDrProtectionGroupDetails model)
-
-