Class UpdateDrProtectionGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupDetails.Builder
-
- Enclosing class:
- UpdateDrProtectionGroupDetails
public static class UpdateDrProtectionGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrProtectionGroupDetails
build()
UpdateDrProtectionGroupDetails.Builder
copy(UpdateDrProtectionGroupDetails model)
UpdateDrProtectionGroupDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateDrProtectionGroupDetails.Builder
displayName(String displayName)
The display name of the DR protection group.UpdateDrProtectionGroupDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateDrProtectionGroupDetails.Builder
logLocation(UpdateObjectStorageLogLocationDetails logLocation)
UpdateDrProtectionGroupDetails.Builder
members(List<UpdateDrProtectionGroupMemberDetails> members)
A list of DR protection group members.
-
-
-
Method Detail
-
displayName
public UpdateDrProtectionGroupDetails.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 UpdateDrProtectionGroupDetails.Builder logLocation(UpdateObjectStorageLogLocationDetails logLocation)
-
members
public UpdateDrProtectionGroupDetails.Builder members(List<UpdateDrProtectionGroupMemberDetails> members)
A list of DR protection group members.When updating members, this list must contain all members being retained, including added and updated members. The list must not contain deleted members.
- Parameters:
members
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateDrProtectionGroupDetails.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 UpdateDrProtectionGroupDetails.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 UpdateDrProtectionGroupDetails build()
-
copy
public UpdateDrProtectionGroupDetails.Builder copy(UpdateDrProtectionGroupDetails model)
-
-