public static class CreateRedisClusterDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateRedisClusterDetails |
build() |
CreateRedisClusterDetails.Builder |
compartmentId(String compartmentId)
The
OCID
of the compartment that contains the Redis cluster.
|
CreateRedisClusterDetails.Builder |
copy(CreateRedisClusterDetails model) |
CreateRedisClusterDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateRedisClusterDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateRedisClusterDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateRedisClusterDetails.Builder |
nodeCount(Integer nodeCount)
The number of nodes in the Redis cluster.
|
CreateRedisClusterDetails.Builder |
nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the Redis cluster’s nodes, in gigabytes.
|
CreateRedisClusterDetails.Builder |
nsgIds(List<String> nsgIds)
OCIDs of the NSGs to control access in the customer network
|
CreateRedisClusterDetails.Builder |
softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The Redis version that the cluster is running.
|
CreateRedisClusterDetails.Builder |
subnetId(String subnetId)
The
OCID
of the Redis cluster’s subnet.
|
public CreateRedisClusterDetails.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 CreateRedisClusterDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Redis cluster.
compartmentId
- the value to setpublic CreateRedisClusterDetails.Builder nodeCount(Integer nodeCount)
The number of nodes in the Redis cluster.
nodeCount
- the value to setpublic CreateRedisClusterDetails.Builder softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The Redis version that the cluster is running.
softwareVersion
- the value to setpublic CreateRedisClusterDetails.Builder nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the Redis cluster’s nodes, in gigabytes.
nodeMemoryInGBs
- the value to setpublic CreateRedisClusterDetails.Builder subnetId(String subnetId)
The OCID of the Redis cluster’s subnet.
subnetId
- the value to setpublic CreateRedisClusterDetails.Builder nsgIds(List<String> nsgIds)
OCIDs of the NSGs to control access in the customer network
nsgIds
- the value to setpublic CreateRedisClusterDetails.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 CreateRedisClusterDetails.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 CreateRedisClusterDetails build()
public CreateRedisClusterDetails.Builder copy(CreateRedisClusterDetails model)
Copyright © 2016–2024. All rights reserved.