@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 DAX cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Cluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
activeNodes()
The number of nodes in the cluster that are active (i.e., capable of serving requests).
|
static Cluster.Builder |
builder() |
String |
clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
Endpoint |
clusterDiscoveryEndpoint()
The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL.
|
ClusterEndpointEncryptionType |
clusterEndpointEncryptionType()
The type of encryption supported by the cluster's endpoint.
|
String |
clusterEndpointEncryptionTypeAsString()
The type of encryption supported by the cluster's endpoint.
|
String |
clusterName()
The name of the DAX cluster.
|
String |
description()
The description of the cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasNodeIdsToRemove()
For responses, this returns true if the service returned a value for the NodeIdsToRemove property.
|
boolean |
hasNodes()
For responses, this returns true if the service returned a value for the Nodes property.
|
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
String |
iamRoleArn()
A valid Amazon Resource Name (ARN) that identifies an IAM role.
|
List<String> |
nodeIdsToRemove()
A list of nodes to be removed from the cluster.
|
List<Node> |
nodes()
A list of nodes that are currently in the cluster.
|
String |
nodeType()
The node type for the nodes in the cluster.
|
NotificationConfiguration |
notificationConfiguration()
Describes a notification topic and its status.
|
ParameterGroupStatus |
parameterGroup()
The parameter group being used by nodes in the cluster.
|
String |
preferredMaintenanceWindow()
A range of time when maintenance of DAX cluster software will be performed.
|
List<SdkField<?>> |
sdkFields() |
List<SecurityGroupMembership> |
securityGroups()
A list of security groups, and the status of each, for the nodes in the cluster.
|
static Class<? extends Cluster.Builder> |
serializableBuilderClass() |
SSEDescription |
sseDescription()
The description of the server-side encryption status on the specified DAX cluster.
|
String |
status()
The current status of the cluster.
|
String |
subnetGroup()
The subnet group where the DAX cluster is running.
|
Cluster.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalNodes()
The total number of nodes in the cluster.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clusterName()
The name of the DAX cluster.
public final String description()
The description of the cluster.
public final String clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public final Integer totalNodes()
The total number of nodes in the cluster.
public final Integer activeNodes()
The number of nodes in the cluster that are active (i.e., capable of serving requests).
public final String nodeType()
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
public final String status()
The current status of the cluster.
public final Endpoint clusterDiscoveryEndpoint()
The endpoint for this DAX cluster, consisting of a DNS name, a port number, and a URL. Applications should use the URL to configure the DAX client to find their cluster.
public final boolean hasNodeIdsToRemove()
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<String> nodeIdsToRemove()
A list of nodes to be removed from 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 hasNodeIdsToRemove() method.
public final boolean hasNodes()
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<Node> nodes()
A list of nodes that are currently 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 hasNodes() method.
public final String preferredMaintenanceWindow()
A range of time when maintenance of DAX cluster software will be performed. For example:
sun:01:00-sun:09:00. Cluster maintenance normally takes less than 30 minutes, and is performed
automatically within the maintenance window.
sun:01:00-sun:09:00. Cluster maintenance normally takes less than 30 minutes, and is
performed automatically within the maintenance window.public final NotificationConfiguration notificationConfiguration()
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
public final String subnetGroup()
The subnet group where the DAX cluster is running.
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, and the status of each, for the nodes 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 hasSecurityGroups() method.
public final String iamRoleArn()
A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.
public final ParameterGroupStatus parameterGroup()
The parameter group being used by nodes in the cluster.
public final SSEDescription sseDescription()
The description of the server-side encryption status on the specified DAX cluster.
public final ClusterEndpointEncryptionType clusterEndpointEncryptionType()
The type of encryption supported by the cluster's endpoint. Values are:
NONE for no encryption
TLS for Transport Layer Security
If the service returns an enum value that is not available in the current SDK version,
clusterEndpointEncryptionType will return ClusterEndpointEncryptionType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from clusterEndpointEncryptionTypeAsString().
NONE for no encryption
TLS for Transport Layer Security
ClusterEndpointEncryptionTypepublic final String clusterEndpointEncryptionTypeAsString()
The type of encryption supported by the cluster's endpoint. Values are:
NONE for no encryption
TLS for Transport Layer Security
If the service returns an enum value that is not available in the current SDK version,
clusterEndpointEncryptionType will return ClusterEndpointEncryptionType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from clusterEndpointEncryptionTypeAsString().
NONE for no encryption
TLS for Transport Layer Security
ClusterEndpointEncryptionTypepublic 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 © 2023. All rights reserved.