Package com.oracle.bmc.mysql.model
Class UpdateReplicaDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.UpdateReplicaDetails.Builder
-
- Enclosing class:
- UpdateReplicaDetails
public static class UpdateReplicaDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateReplicaDetails
build()
UpdateReplicaDetails.Builder
copy(UpdateReplicaDetails model)
UpdateReplicaDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateReplicaDetails.Builder
description(String description)
User provided description of the read replica.UpdateReplicaDetails.Builder
displayName(String displayName)
The user-friendly name for the read replica.UpdateReplicaDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateReplicaDetails.Builder
isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the read replica can be deleted.UpdateReplicaDetails.Builder
replicaOverrides(ReplicaOverrides replicaOverrides)
-
-
-
Method Detail
-
displayName
public UpdateReplicaDetails.Builder displayName(String displayName)
The user-friendly name for the read replica.It does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateReplicaDetails.Builder description(String description)
User provided description of the read replica.- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateReplicaDetails.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: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateReplicaDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
isDeleteProtected
public UpdateReplicaDetails.Builder isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the read replica can be deleted.Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
- Parameters:
isDeleteProtected
- the value to set- Returns:
- this builder
-
replicaOverrides
public UpdateReplicaDetails.Builder replicaOverrides(ReplicaOverrides replicaOverrides)
-
build
public UpdateReplicaDetails build()
-
copy
public UpdateReplicaDetails.Builder copy(UpdateReplicaDetails model)
-
-