public static class CreateReplicaDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateReplicaDetails |
build() |
CreateReplicaDetails.Builder |
copy(CreateReplicaDetails model) |
CreateReplicaDetails.Builder |
dbSystemId(String dbSystemId)
The OCID of the DB System the read replica is associated with.
|
CreateReplicaDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateReplicaDetails.Builder |
description(String description)
User provided description of the read replica.
|
CreateReplicaDetails.Builder |
displayName(String displayName)
The user-friendly name for the read replica.
|
CreateReplicaDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateReplicaDetails.Builder |
isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the read replica can be deleted.
|
CreateReplicaDetails.Builder |
replicaOverrides(ReplicaOverrides replicaOverrides) |
public CreateReplicaDetails.Builder dbSystemId(String dbSystemId)
The OCID of the DB System the read replica is associated with.
dbSystemId
- the value to setpublic CreateReplicaDetails.Builder displayName(String displayName)
The user-friendly name for the read replica. It does not have to be unique.
displayName
- the value to setpublic CreateReplicaDetails.Builder description(String description)
User provided description of the read replica.
description
- the value to setpublic CreateReplicaDetails.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"}
freeformTags
- the value to setpublic CreateReplicaDetails.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"}}
definedTags
- the value to setpublic CreateReplicaDetails.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.
isDeleteProtected
- the value to setpublic CreateReplicaDetails.Builder replicaOverrides(ReplicaOverrides replicaOverrides)
public CreateReplicaDetails build()
public CreateReplicaDetails.Builder copy(CreateReplicaDetails model)
Copyright © 2016–2024. All rights reserved.