public static class RedisClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RedisClusterSummary |
build() |
RedisClusterSummary.Builder |
clusterMode(RedisCluster.ClusterMode clusterMode)
Specifies whether the cluster is sharded or non-sharded.
|
RedisClusterSummary.Builder |
compartmentId(String compartmentId)
The
OCID
of the compartment that contains the cluster.
|
RedisClusterSummary.Builder |
copy(RedisClusterSummary model) |
RedisClusterSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RedisClusterSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
RedisClusterSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RedisClusterSummary.Builder |
id(String id)
The
OCID
of the cluster.
|
RedisClusterSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
RedisClusterSummary.Builder |
lifecycleState(RedisCluster.LifecycleState lifecycleState)
The current state of the cluster.
|
RedisClusterSummary.Builder |
nodeCount(Integer nodeCount)
The number of nodes per shard in the cluster when clusterMode is SHARDED.
|
RedisClusterSummary.Builder |
nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the cluster’s nodes, in gigabytes.
|
RedisClusterSummary.Builder |
nsgIds(List<String> nsgIds)
A list of Network Security Group (NSG)
OCIDs
associated with this cluster.
|
RedisClusterSummary.Builder |
primaryEndpointIpAddress(String primaryEndpointIpAddress)
The private IP address of the API endpoint for the cluster’s primary node.
|
RedisClusterSummary.Builder |
primaryFqdn(String primaryFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the cluster’s primary
node.
|
RedisClusterSummary.Builder |
replicasEndpointIpAddress(String replicasEndpointIpAddress)
The private IP address of the API endpoint for the cluster’s replica nodes.
|
RedisClusterSummary.Builder |
replicasFqdn(String replicasFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the cluster’s replica
nodes.
|
RedisClusterSummary.Builder |
shardCount(Integer shardCount)
The number of shards in a sharded cluster.
|
RedisClusterSummary.Builder |
softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The OCI Cache engine version that the cluster is running.
|
RedisClusterSummary.Builder |
subnetId(String subnetId)
The
OCID
of the cluster’s subnet.
|
RedisClusterSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
RedisClusterSummary.Builder |
timeCreated(Date timeCreated)
The date and time the cluster was created.
|
RedisClusterSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the cluster was updated.
|
public RedisClusterSummary.Builder id(String id)
The OCID of the cluster.
id
- the value to setpublic RedisClusterSummary.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 RedisClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the cluster.
compartmentId
- the value to setpublic RedisClusterSummary.Builder lifecycleState(RedisCluster.LifecycleState lifecycleState)
The current state of the cluster.
lifecycleState
- the value to setpublic RedisClusterSummary.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 RedisClusterSummary.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 RedisClusterSummary.Builder nodeMemoryInGBs(Float nodeMemoryInGBs)
The amount of memory allocated to the cluster’s nodes, in gigabytes.
nodeMemoryInGBs
- the value to setpublic RedisClusterSummary.Builder primaryFqdn(String primaryFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the cluster’s primary node.
primaryFqdn
- the value to setpublic RedisClusterSummary.Builder primaryEndpointIpAddress(String primaryEndpointIpAddress)
The private IP address of the API endpoint for the cluster’s primary node.
primaryEndpointIpAddress
- the value to setpublic RedisClusterSummary.Builder replicasFqdn(String replicasFqdn)
The fully qualified domain name (FQDN) of the API endpoint for the cluster’s replica nodes.
replicasFqdn
- the value to setpublic RedisClusterSummary.Builder replicasEndpointIpAddress(String replicasEndpointIpAddress)
The private IP address of the API endpoint for the cluster’s replica nodes.
replicasEndpointIpAddress
- the value to setpublic RedisClusterSummary.Builder softwareVersion(RedisCluster.SoftwareVersion softwareVersion)
The OCI Cache engine version that the cluster is running.
softwareVersion
- the value to setpublic RedisClusterSummary.Builder subnetId(String subnetId)
The OCID of the cluster’s subnet.
subnetId
- the value to setpublic RedisClusterSummary.Builder timeCreated(Date timeCreated)
The date and time the cluster was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic RedisClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cluster was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic RedisClusterSummary.Builder clusterMode(RedisCluster.ClusterMode clusterMode)
Specifies whether the cluster is sharded or non-sharded.
clusterMode
- the value to setpublic RedisClusterSummary.Builder shardCount(Integer shardCount)
The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED.
shardCount
- the value to setpublic RedisClusterSummary.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 RedisClusterSummary.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 RedisClusterSummary.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 RedisClusterSummary.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 RedisClusterSummary build()
public RedisClusterSummary.Builder copy(RedisClusterSummary model)
Copyright © 2016–2024. All rights reserved.