@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of configuration properties for a peer node.
Constructor and Description |
---|
NodeSummary() |
Modifier and Type | Method and Description |
---|---|
NodeSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the node exists.
|
Date |
getCreationDate()
The date and time that the node was created.
|
String |
getId()
The unique identifier of the node.
|
String |
getInstanceType()
The EC2 instance type for the node.
|
String |
getStatus()
The status of the node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
void |
setCreationDate(Date creationDate)
The date and time that the node was created.
|
void |
setId(String id)
The unique identifier of the node.
|
void |
setInstanceType(String instanceType)
The EC2 instance type for the node.
|
void |
setStatus(String status)
The status of the node.
|
String |
toString()
Returns a string representation of this object.
|
NodeSummary |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
NodeSummary |
withCreationDate(Date creationDate)
The date and time that the node was created.
|
NodeSummary |
withId(String id)
The unique identifier of the node.
|
NodeSummary |
withInstanceType(String instanceType)
The EC2 instance type for the node.
|
NodeSummary |
withStatus(NodeStatus status)
The status of the node.
|
NodeSummary |
withStatus(String status)
The status of the node.
|
public void setId(String id)
The unique identifier of the node.
id
- The unique identifier of the node.public String getId()
The unique identifier of the node.
public NodeSummary withId(String id)
The unique identifier of the node.
id
- The unique identifier of the node.public void setStatus(String status)
The status of the node.
status
- The status of the node.NodeStatus
public String getStatus()
The status of the node.
NodeStatus
public NodeSummary withStatus(String status)
The status of the node.
status
- The status of the node.NodeStatus
public NodeSummary withStatus(NodeStatus status)
The status of the node.
status
- The status of the node.NodeStatus
public void setCreationDate(Date creationDate)
The date and time that the node was created.
creationDate
- The date and time that the node was created.public Date getCreationDate()
The date and time that the node was created.
public NodeSummary withCreationDate(Date creationDate)
The date and time that the node was created.
creationDate
- The date and time that the node was created.public void setAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
availabilityZone
- The Availability Zone in which the node exists.public String getAvailabilityZone()
The Availability Zone in which the node exists.
public NodeSummary withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
availabilityZone
- The Availability Zone in which the node exists.public void setInstanceType(String instanceType)
The EC2 instance type for the node.
instanceType
- The EC2 instance type for the node.public String getInstanceType()
The EC2 instance type for the node.
public NodeSummary withInstanceType(String instanceType)
The EC2 instance type for the node.
instanceType
- The EC2 instance type for the node.public String toString()
toString
in class Object
Object.toString()
public NodeSummary clone()
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.