public static class UpdateRedisClusterDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateRedisClusterDetails |
build() |
UpdateRedisClusterDetails.Builder |
copy(UpdateRedisClusterDetails model) |
UpdateRedisClusterDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateRedisClusterDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
UpdateRedisClusterDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
UpdateRedisClusterDetails.Builder |
nodeCount(Integer nodeCount)
The number of nodes per shard in the cluster when clusterMode is SHARDED.
|
UpdateRedisClusterDetails.Builder |
nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the cluster’s nodes, in gigabytes.
|
UpdateRedisClusterDetails.Builder |
nsgIds(List<String> nsgIds)
A list of Network Security Group (NSG)
OCIDs
associated with this cluster.
|
UpdateRedisClusterDetails.Builder |
shardCount(Integer shardCount)
The number of shards in sharded cluster.
|
public UpdateRedisClusterDetails.Builder shardCount(Integer shardCount)
The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
shardCount
- the value to setpublic UpdateRedisClusterDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic UpdateRedisClusterDetails.Builder nodeCount(Integer nodeCount)
The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
nodeCount
- the value to setpublic UpdateRedisClusterDetails.Builder nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the cluster’s nodes, in gigabytes.
nodeMemoryInGBs
- the value to setpublic UpdateRedisClusterDetails.Builder nsgIds(List<String> nsgIds)
A list of Network Security Group (NSG) OCIDs associated with this cluster. For more information, see Using an NSG for Clusters.
nsgIds
- the value to setpublic UpdateRedisClusterDetails.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 UpdateRedisClusterDetails.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 UpdateRedisClusterDetails build()
public UpdateRedisClusterDetails.Builder copy(UpdateRedisClusterDetails model)
Copyright © 2016–2024. All rights reserved.