public static class RedisCluster.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RedisCluster |
build() |
RedisCluster.Builder |
compartmentId(String compartmentId)
The
OCID
of the compartment that contains the Redis cluster.
|
RedisCluster.Builder |
copy(RedisCluster model) |
RedisCluster.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RedisCluster.Builder |
displayName(String displayName)
A user-friendly name.
|
RedisCluster.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RedisCluster.Builder |
id(String id)
The
OCID
of the Redis cluster.
|
RedisCluster.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
RedisCluster.Builder |
lifecycleState(RedisCluster.LifecycleState lifecycleState)
The current state of the Redis cluster.
|
RedisCluster.Builder |
nodeCollection(NodeCollection nodeCollection) |
RedisCluster.Builder |
nodeCount(Integer nodeCount)
The number of nodes in the Redis cluster.
|
RedisCluster.Builder |
nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the Redis cluster’s nodes, in gigabytes.
|
RedisCluster.Builder |
nsgIds(List<String> nsgIds)
OCIDs of the NSGs to control access in the customer network
|
RedisCluster.Builder |
primaryEndpointIpAddress(String primaryEndpointIpAddress)
The private IP address of the API endpoint for the Redis cluster’s primary node.
|
RedisCluster.Builder |
primaryFqdn(String primaryFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster’s
primary node.
|
RedisCluster.Builder |
replicasEndpointIpAddress(String replicasEndpointIpAddress)
The private IP address of the API endpoint for the Redis cluster’s replica nodes.
|
RedisCluster.Builder |
replicasFqdn(String replicasFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster’s
replica nodes.
|
RedisCluster.Builder |
softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The Redis version that the cluster is running.
|
RedisCluster.Builder |
subnetId(String subnetId)
The
OCID
of the Redis cluster’s subnet.
|
RedisCluster.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
RedisCluster.Builder |
timeCreated(Date timeCreated)
The date and time the Redis cluster was created.
|
RedisCluster.Builder |
timeUpdated(Date timeUpdated)
The date and time the Redis cluster was updated.
|
public RedisCluster.Builder id(String id)
The OCID of the Redis cluster.
id
- the value to setpublic RedisCluster.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 RedisCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Redis cluster.
compartmentId
- the value to setpublic RedisCluster.Builder lifecycleState(RedisCluster.LifecycleState lifecycleState)
The current state of the Redis cluster.
lifecycleState
- the value to setpublic RedisCluster.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, the message might
provide actionable information for a resource in FAILED
state.
lifecycleDetails
- the value to setpublic RedisCluster.Builder nodeCount(Integer nodeCount)
The number of nodes in the Redis cluster.
nodeCount
- the value to setpublic RedisCluster.Builder nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the Redis cluster’s nodes, in gigabytes.
nodeMemoryInGBs
- the value to setpublic RedisCluster.Builder primaryFqdn(String primaryFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster’s primary node.
primaryFqdn
- the value to setpublic RedisCluster.Builder primaryEndpointIpAddress(String primaryEndpointIpAddress)
The private IP address of the API endpoint for the Redis cluster’s primary node.
primaryEndpointIpAddress
- the value to setpublic RedisCluster.Builder replicasFqdn(String replicasFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster’s replica nodes.
replicasFqdn
- the value to setpublic RedisCluster.Builder replicasEndpointIpAddress(String replicasEndpointIpAddress)
The private IP address of the API endpoint for the Redis cluster’s replica nodes.
replicasEndpointIpAddress
- the value to setpublic RedisCluster.Builder softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The Redis version that the cluster is running.
softwareVersion
- the value to setpublic RedisCluster.Builder subnetId(String subnetId)
The OCID of the Redis cluster’s subnet.
subnetId
- the value to setpublic RedisCluster.Builder timeCreated(Date timeCreated)
The date and time the Redis cluster was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic RedisCluster.Builder timeUpdated(Date timeUpdated)
The date and time the Redis cluster was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic RedisCluster.Builder nodeCollection(NodeCollection nodeCollection)
public RedisCluster.Builder nsgIds(List<String> nsgIds)
OCIDs of the NSGs to control access in the customer network
nsgIds
- the value to setpublic RedisCluster.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 RedisCluster.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 RedisCluster.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic RedisCluster build()
public RedisCluster.Builder copy(RedisCluster model)
Copyright © 2016–2024. All rights reserved.