@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
Contains all of the attributes of a specific DAX cluster.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
clone() |
boolean |
equals(Object obj) |
Integer |
getActiveNodes()
The number of nodes in the cluster that are active (i.e., capable of serving requests).
|
String |
getClusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
Endpoint |
getClusterDiscoveryEndpoint()
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number.
|
String |
getClusterName()
The name of the DAX cluster.
|
String |
getDescription()
The description of the cluster.
|
String |
getIamRoleArn()
A valid Amazon Resource Name (ARN) that identifies an IAM role.
|
List<String> |
getNodeIdsToRemove()
A list of nodes to be removed from the cluster.
|
List<Node> |
getNodes()
A list of nodes that are currently in the cluster.
|
String |
getNodeType()
The node type for the nodes in the cluster.
|
NotificationConfiguration |
getNotificationConfiguration()
Describes a notification topic and its status.
|
ParameterGroupStatus |
getParameterGroup()
The parameter group being used by nodes in the cluster.
|
String |
getPreferredMaintenanceWindow()
A range of time when maintenance of DAX cluster software will be performed.
|
List<SecurityGroupMembership> |
getSecurityGroups()
A list of security groups, and the status of each, for the nodes in the cluster.
|
String |
getStatus()
The current status of the cluster.
|
String |
getSubnetGroup()
The subnet group where the DAX cluster is running.
|
Integer |
getTotalNodes()
The total number of nodes in the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
|
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
void |
setClusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number.
|
void |
setClusterName(String clusterName)
The name of the DAX cluster.
|
void |
setDescription(String description)
The description of the cluster.
|
void |
setIamRoleArn(String iamRoleArn)
A valid Amazon Resource Name (ARN) that identifies an IAM role.
|
void |
setNodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
|
void |
setNodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
|
void |
setNodeType(String nodeType)
The node type for the nodes in the cluster.
|
void |
setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Describes a notification topic and its status.
|
void |
setParameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
A range of time when maintenance of DAX cluster software will be performed.
|
void |
setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
void |
setStatus(String status)
The current status of the cluster.
|
void |
setSubnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
|
void |
setTotalNodes(Integer totalNodes)
The total number of nodes in the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Cluster |
withActiveNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
|
Cluster |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
Cluster |
withClusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number.
|
Cluster |
withClusterName(String clusterName)
The name of the DAX cluster.
|
Cluster |
withDescription(String description)
The description of the cluster.
|
Cluster |
withIamRoleArn(String iamRoleArn)
A valid Amazon Resource Name (ARN) that identifies an IAM role.
|
Cluster |
withNodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
|
Cluster |
withNodeIdsToRemove(String... nodeIdsToRemove)
A list of nodes to be removed from the cluster.
|
Cluster |
withNodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
|
Cluster |
withNodes(Node... nodes)
A list of nodes that are currently in the cluster.
|
Cluster |
withNodeType(String nodeType)
The node type for the nodes in the cluster.
|
Cluster |
withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Describes a notification topic and its status.
|
Cluster |
withParameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
|
Cluster |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
A range of time when maintenance of DAX cluster software will be performed.
|
Cluster |
withSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
Cluster |
withSecurityGroups(SecurityGroupMembership... securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
|
Cluster |
withStatus(String status)
The current status of the cluster.
|
Cluster |
withSubnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
|
Cluster |
withTotalNodes(Integer totalNodes)
The total number of nodes in the cluster.
|
public void setClusterName(String clusterName)
The name of the DAX cluster.
clusterName
- The name of the DAX cluster.public String getClusterName()
The name of the DAX cluster.
public Cluster withClusterName(String clusterName)
The name of the DAX cluster.
clusterName
- The name of the DAX cluster.public void setDescription(String description)
The description of the cluster.
description
- The description of the cluster.public String getDescription()
The description of the cluster.
public Cluster withDescription(String description)
The description of the cluster.
description
- The description of the cluster.public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.public String getClusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public Cluster withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.public void setTotalNodes(Integer totalNodes)
The total number of nodes in the cluster.
totalNodes
- The total number of nodes in the cluster.public Integer getTotalNodes()
The total number of nodes in the cluster.
public Cluster withTotalNodes(Integer totalNodes)
The total number of nodes in the cluster.
totalNodes
- The total number of nodes in the cluster.public void setActiveNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
activeNodes
- The number of nodes in the cluster that are active (i.e., capable of serving requests).public Integer getActiveNodes()
The number of nodes in the cluster that are active (i.e., capable of serving requests).
public Cluster withActiveNodes(Integer activeNodes)
The number of nodes in the cluster that are active (i.e., capable of serving requests).
activeNodes
- The number of nodes in the cluster that are active (i.e., capable of serving requests).public void setNodeType(String nodeType)
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
nodeType
- The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)public String getNodeType()
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
public Cluster withNodeType(String nodeType)
The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)
nodeType
- The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)public void setStatus(String status)
The current status of the cluster.
status
- The current status of the cluster.public String getStatus()
The current status of the cluster.
public Cluster withStatus(String status)
The current status of the cluster.
status
- The current status of the cluster.public void setClusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
clusterDiscoveryEndpoint
- The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client
applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client
software to intelligently route requests and responses to nodes in the DAX cluster.public Endpoint getClusterDiscoveryEndpoint()
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
public Cluster withClusterDiscoveryEndpoint(Endpoint clusterDiscoveryEndpoint)
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
clusterDiscoveryEndpoint
- The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client
applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client
software to intelligently route requests and responses to nodes in the DAX cluster.public List<String> getNodeIdsToRemove()
A list of nodes to be removed from the cluster.
public void setNodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
nodeIdsToRemove
- A list of nodes to be removed from the cluster.public Cluster withNodeIdsToRemove(String... nodeIdsToRemove)
A list of nodes to be removed from the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodeIdsToRemove(java.util.Collection)
or withNodeIdsToRemove(java.util.Collection)
if you
want to override the existing values.
nodeIdsToRemove
- A list of nodes to be removed from the cluster.public Cluster withNodeIdsToRemove(Collection<String> nodeIdsToRemove)
A list of nodes to be removed from the cluster.
nodeIdsToRemove
- A list of nodes to be removed from the cluster.public List<Node> getNodes()
A list of nodes that are currently in the cluster.
public void setNodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
nodes
- A list of nodes that are currently in the cluster.public Cluster withNodes(Node... nodes)
A list of nodes that are currently in the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodes(java.util.Collection)
or withNodes(java.util.Collection)
if you want to override the
existing values.
nodes
- A list of nodes that are currently in the cluster.public Cluster withNodes(Collection<Node> nodes)
A list of nodes that are currently in the cluster.
nodes
- A list of nodes that are currently in the cluster.public void setPreferredMaintenanceWindow(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.
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.public String getPreferredMaintenanceWindow()
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 Cluster withPreferredMaintenanceWindow(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.
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.public void setNotificationConfiguration(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).
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 NotificationConfiguration getNotificationConfiguration()
Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).
public Cluster withNotificationConfiguration(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).
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 void setSubnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
subnetGroup
- The subnet group where the DAX cluster is running.public String getSubnetGroup()
The subnet group where the DAX cluster is running.
public Cluster withSubnetGroup(String subnetGroup)
The subnet group where the DAX cluster is running.
subnetGroup
- The subnet group where the DAX cluster is running.public List<SecurityGroupMembership> getSecurityGroups()
A list of security groups, and the status of each, for the nodes in the cluster.
public void setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.public Cluster withSecurityGroups(SecurityGroupMembership... securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.public Cluster withSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups, and the status of each, for the nodes in the cluster.
securityGroups
- A list of security groups, and the status of each, for the nodes in the cluster.public void setIamRoleArn(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.
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 String getIamRoleArn()
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 Cluster withIamRoleArn(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.
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 void setParameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
parameterGroup
- The parameter group being used by nodes in the cluster.public ParameterGroupStatus getParameterGroup()
The parameter group being used by nodes in the cluster.
public Cluster withParameterGroup(ParameterGroupStatus parameterGroup)
The parameter group being used by nodes in the cluster.
parameterGroup
- The parameter group being used by nodes in the cluster.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.