@Generated(value="software.amazon.awssdk:codegen") public final class Cluster extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Cluster.Builder,Cluster>
Contains all of the attributes of a specific cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Cluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
aclName()
The name of the Access Control List associated with this cluster.
|
String |
arn()
The Amazon Resource Name (ARN) of the cluster.
|
Boolean |
autoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
AZStatus |
availabilityMode()
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
|
String |
availabilityModeAsString()
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
|
static Cluster.Builder |
builder() |
Endpoint |
clusterEndpoint()
The cluster's configuration endpoint
|
String |
description()
A description of the cluster
|
String |
enginePatchVersion()
The Redis engine patch version used by the cluster
|
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 |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
boolean |
hasShards()
For responses, this returns true if the service returned a value for the Shards property.
|
String |
kmsKeyId()
The ID of the KMS key used to encrypt the cluster
|
String |
maintenanceWindow()
Specifies the weekly time range during which maintenance on the cluster is performed.
|
String |
name()
The user-supplied name of the cluster.
|
String |
nodeType()
The cluster's node type
|
Integer |
numberOfShards()
The number of shards in the cluster
|
String |
parameterGroupName()
The name of the parameter group used by the cluster
|
String |
parameterGroupStatus()
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
|
ClusterPendingUpdates |
pendingUpdates()
A group of settings that are currently being applied.
|
List<SdkField<?>> |
sdkFields() |
List<SecurityGroupMembership> |
securityGroups()
A list of security groups used by the cluster
|
static Class<? extends Cluster.Builder> |
serializableBuilderClass() |
List<Shard> |
shards()
A list of shards that are members of the cluster.
|
Integer |
snapshotRetentionLimit()
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
String |
snapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
String |
snsTopicArn()
The Amazon Resource Name (ARN) of the SNS notification topic
|
String |
snsTopicStatus()
The SNS topic must be in Active status to receive notifications
|
String |
status()
The status of the cluster.
|
String |
subnetGroupName()
The name of the subnet group used by the cluster
|
Boolean |
tlsEnabled()
A flag to indicate if In-transit encryption is enabled
|
Cluster.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.
public final String description()
A description of the cluster
public final String status()
The status of the cluster. For example, Available, Updating, Creating.
public final ClusterPendingUpdates pendingUpdates()
A group of settings that are currently being applied.
public final Integer numberOfShards()
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<Shard> shards()
A list of shards that are members of 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 final AZStatus availabilityMode()
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
If the service returns an enum value that is not available in the current SDK version, availabilityMode
will return AZStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
availabilityModeAsString().
AZStatuspublic final String availabilityModeAsString()
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
If the service returns an enum value that is not available in the current SDK version, availabilityMode
will return AZStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
availabilityModeAsString().
AZStatuspublic final Endpoint clusterEndpoint()
The cluster's configuration endpoint
public final String nodeType()
The cluster's node type
public final String engineVersion()
The Redis engine version used by the cluster
public final String enginePatchVersion()
The Redis engine patch version used by the cluster
public final String parameterGroupName()
The name of the parameter group used by the cluster
public final String parameterGroupStatus()
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
public final boolean hasSecurityGroups()
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<SecurityGroupMembership> securityGroups()
A list of security groups used by 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 hasSecurityGroups() method.
public final String subnetGroupName()
The name of the subnet group used by the cluster
public final Boolean tlsEnabled()
A flag to indicate if In-transit encryption is enabled
public final String kmsKeyId()
The ID of the KMS key used to encrypt the cluster
public final String arn()
The Amazon Resource Name (ARN) of the cluster.
public final String snsTopicArn()
The Amazon Resource Name (ARN) of the SNS notification topic
public final String snsTopicStatus()
The SNS topic must be in Active status to receive notifications
public final Integer snapshotRetentionLimit()
The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
public final String maintenanceWindow()
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
public final String snapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
public final String aclName()
The name of the Access Control List associated with this cluster.
public final Boolean autoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
public Cluster.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Cluster.Builder,Cluster>public static Cluster.Builder builder()
public static Class<? extends Cluster.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.