@Generated(value="software.amazon.awssdk:codegen") public final class ClusterConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>
A list of cluster configuration options.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterConfiguration.Builder |
builder() |
String |
description()
The description of the cluster configuration
|
String |
engineVersion()
The Redis engine version used by the cluster
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasShards()
For responses, this returns true if the service returned a value for the Shards property.
|
String |
maintenanceWindow()
The specified maintenance window for the cluster
|
String |
name()
The name of the cluster
|
String |
nodeType()
The node type used for the cluster
|
Integer |
numShards()
The number of shards in the cluster
|
String |
parameterGroupName()
The name of parameter group used by the cluster
|
Integer |
port()
The port used by the cluster
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterConfiguration.Builder> |
serializableBuilderClass() |
List<ShardDetail> |
shards()
The list of shards in the cluster
|
Integer |
snapshotRetentionLimit()
The snapshot retention limit set by the cluster
|
String |
snapshotWindow()
The snapshot window set by the cluster
|
String |
subnetGroupName()
The name of the subnet group used by the cluster
|
ClusterConfiguration.Builder |
toBuilder() |
String |
topicArn()
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
|
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC the cluster belongs to
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the cluster
public final String description()
The description of the cluster configuration
public final String nodeType()
The node type used for the cluster
public final String engineVersion()
The Redis engine version used by the cluster
public final String maintenanceWindow()
The specified maintenance window for the cluster
public final String topicArn()
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
public final Integer port()
The port used by the cluster
public final String parameterGroupName()
The name of parameter group used by the cluster
public final String subnetGroupName()
The name of the subnet group used by the cluster
public final String vpcId()
The ID of the VPC the cluster belongs to
public final Integer snapshotRetentionLimit()
The snapshot retention limit set by the cluster
public final String snapshotWindow()
The snapshot window set by the cluster
public final Integer numShards()
The number of shards in the cluster
public final boolean hasShards()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<ShardDetail> shards()
The list of shards in the cluster
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasShards() method.
public ClusterConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>public static ClusterConfiguration.Builder builder()
public static Class<? extends ClusterConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.