@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Node extends Object implements Serializable, Cloneable, StructuredPojo
Represents an individual node within a DAX cluster.
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
Node |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone (AZ) in which the node has been deployed.
|
Endpoint |
getEndpoint()
The endpoint for the node, consisting of a DNS name and a port number.
|
Date |
getNodeCreateTime()
The date and time (in UNIX epoch format) when the node was launched.
|
String |
getNodeId()
A system-generated identifier for the node.
|
String |
getNodeStatus()
The current status of the node.
|
String |
getParameterGroupStatus()
The status of the parameter group associated with this node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
|
void |
setEndpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number.
|
void |
setNodeCreateTime(Date nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
|
void |
setNodeId(String nodeId)
A system-generated identifier for the node.
|
void |
setNodeStatus(String nodeStatus)
The current status of the node.
|
void |
setParameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Node |
withAvailabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
|
Node |
withEndpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number.
|
Node |
withNodeCreateTime(Date nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
|
Node |
withNodeId(String nodeId)
A system-generated identifier for the node.
|
Node |
withNodeStatus(String nodeStatus)
The current status of the node.
|
Node |
withParameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node.
|
public void setNodeId(String nodeId)
A system-generated identifier for the node.
nodeId
- A system-generated identifier for the node.public String getNodeId()
A system-generated identifier for the node.
public Node withNodeId(String nodeId)
A system-generated identifier for the node.
nodeId
- A system-generated identifier for the node.public void setEndpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
endpoint
- The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect
directly to a node endpoint, if desired (as an alternative to allowing DAX client software to
intelligently route requests and responses to nodes in the DAX cluster.public Endpoint getEndpoint()
The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
public Node withEndpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
endpoint
- The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect
directly to a node endpoint, if desired (as an alternative to allowing DAX client software to
intelligently route requests and responses to nodes in the DAX cluster.public void setNodeCreateTime(Date nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
nodeCreateTime
- The date and time (in UNIX epoch format) when the node was launched.public Date getNodeCreateTime()
The date and time (in UNIX epoch format) when the node was launched.
public Node withNodeCreateTime(Date nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
nodeCreateTime
- The date and time (in UNIX epoch format) when the node was launched.public void setAvailabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
availabilityZone
- The Availability Zone (AZ) in which the node has been deployed.public String getAvailabilityZone()
The Availability Zone (AZ) in which the node has been deployed.
public Node withAvailabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
availabilityZone
- The Availability Zone (AZ) in which the node has been deployed.public void setNodeStatus(String nodeStatus)
The current status of the node. For example: available
.
nodeStatus
- The current status of the node. For example: available
.public String getNodeStatus()
The current status of the node. For example: available
.
available
.public Node withNodeStatus(String nodeStatus)
The current status of the node. For example: available
.
nodeStatus
- The current status of the node. For example: available
.public void setParameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node. For example, in-sync
.
parameterGroupStatus
- The status of the parameter group associated with this node. For example, in-sync
.public String getParameterGroupStatus()
The status of the parameter group associated with this node. For example, in-sync
.
in-sync
.public Node withParameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node. For example, in-sync
.
parameterGroupStatus
- The status of the parameter group associated with this node. For example, in-sync
.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.