@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedNodeExchangeStatus extends Object implements Serializable, Cloneable
Reserved-node status details, such as the source reserved-node identifier, the target reserved-node identifier, the node type, the node count, and other details.
Constructor and Description |
---|
ReservedNodeExchangeStatus() |
Modifier and Type | Method and Description |
---|---|
ReservedNodeExchangeStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getRequestTime()
A date and time that indicate when the reserved-node exchange was requested.
|
String |
getReservedNodeExchangeRequestId()
The identifier of the reserved-node exchange request.
|
Integer |
getSourceReservedNodeCount()
The source reserved-node count in the cluster.
|
String |
getSourceReservedNodeId()
The identifier of the source reserved node.
|
String |
getSourceReservedNodeType()
The source reserved-node type, for example ra3.4xlarge.
|
String |
getStatus()
The status of the reserved-node exchange request.
|
Integer |
getTargetReservedNodeCount()
The count of target reserved nodes in the cluster.
|
String |
getTargetReservedNodeOfferingId()
The identifier of the target reserved node offering.
|
String |
getTargetReservedNodeType()
The node type of the target reserved node, for example ra3.4xlarge.
|
int |
hashCode() |
void |
setRequestTime(Date requestTime)
A date and time that indicate when the reserved-node exchange was requested.
|
void |
setReservedNodeExchangeRequestId(String reservedNodeExchangeRequestId)
The identifier of the reserved-node exchange request.
|
void |
setSourceReservedNodeCount(Integer sourceReservedNodeCount)
The source reserved-node count in the cluster.
|
void |
setSourceReservedNodeId(String sourceReservedNodeId)
The identifier of the source reserved node.
|
void |
setSourceReservedNodeType(String sourceReservedNodeType)
The source reserved-node type, for example ra3.4xlarge.
|
void |
setStatus(String status)
The status of the reserved-node exchange request.
|
void |
setTargetReservedNodeCount(Integer targetReservedNodeCount)
The count of target reserved nodes in the cluster.
|
void |
setTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
|
void |
setTargetReservedNodeType(String targetReservedNodeType)
The node type of the target reserved node, for example ra3.4xlarge.
|
String |
toString()
Returns a string representation of this object.
|
ReservedNodeExchangeStatus |
withRequestTime(Date requestTime)
A date and time that indicate when the reserved-node exchange was requested.
|
ReservedNodeExchangeStatus |
withReservedNodeExchangeRequestId(String reservedNodeExchangeRequestId)
The identifier of the reserved-node exchange request.
|
ReservedNodeExchangeStatus |
withSourceReservedNodeCount(Integer sourceReservedNodeCount)
The source reserved-node count in the cluster.
|
ReservedNodeExchangeStatus |
withSourceReservedNodeId(String sourceReservedNodeId)
The identifier of the source reserved node.
|
ReservedNodeExchangeStatus |
withSourceReservedNodeType(String sourceReservedNodeType)
The source reserved-node type, for example ra3.4xlarge.
|
ReservedNodeExchangeStatus |
withStatus(ReservedNodeExchangeStatusType status)
The status of the reserved-node exchange request.
|
ReservedNodeExchangeStatus |
withStatus(String status)
The status of the reserved-node exchange request.
|
ReservedNodeExchangeStatus |
withTargetReservedNodeCount(Integer targetReservedNodeCount)
The count of target reserved nodes in the cluster.
|
ReservedNodeExchangeStatus |
withTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
|
ReservedNodeExchangeStatus |
withTargetReservedNodeType(String targetReservedNodeType)
The node type of the target reserved node, for example ra3.4xlarge.
|
public void setReservedNodeExchangeRequestId(String reservedNodeExchangeRequestId)
The identifier of the reserved-node exchange request.
reservedNodeExchangeRequestId
- The identifier of the reserved-node exchange request.public String getReservedNodeExchangeRequestId()
The identifier of the reserved-node exchange request.
public ReservedNodeExchangeStatus withReservedNodeExchangeRequestId(String reservedNodeExchangeRequestId)
The identifier of the reserved-node exchange request.
reservedNodeExchangeRequestId
- The identifier of the reserved-node exchange request.public void setStatus(String status)
The status of the reserved-node exchange request. Statuses include in-progress and requested.
status
- The status of the reserved-node exchange request. Statuses include in-progress and requested.ReservedNodeExchangeStatusType
public String getStatus()
The status of the reserved-node exchange request. Statuses include in-progress and requested.
ReservedNodeExchangeStatusType
public ReservedNodeExchangeStatus withStatus(String status)
The status of the reserved-node exchange request. Statuses include in-progress and requested.
status
- The status of the reserved-node exchange request. Statuses include in-progress and requested.ReservedNodeExchangeStatusType
public ReservedNodeExchangeStatus withStatus(ReservedNodeExchangeStatusType status)
The status of the reserved-node exchange request. Statuses include in-progress and requested.
status
- The status of the reserved-node exchange request. Statuses include in-progress and requested.ReservedNodeExchangeStatusType
public void setRequestTime(Date requestTime)
A date and time that indicate when the reserved-node exchange was requested.
requestTime
- A date and time that indicate when the reserved-node exchange was requested.public Date getRequestTime()
A date and time that indicate when the reserved-node exchange was requested.
public ReservedNodeExchangeStatus withRequestTime(Date requestTime)
A date and time that indicate when the reserved-node exchange was requested.
requestTime
- A date and time that indicate when the reserved-node exchange was requested.public void setSourceReservedNodeId(String sourceReservedNodeId)
The identifier of the source reserved node.
sourceReservedNodeId
- The identifier of the source reserved node.public String getSourceReservedNodeId()
The identifier of the source reserved node.
public ReservedNodeExchangeStatus withSourceReservedNodeId(String sourceReservedNodeId)
The identifier of the source reserved node.
sourceReservedNodeId
- The identifier of the source reserved node.public void setSourceReservedNodeType(String sourceReservedNodeType)
The source reserved-node type, for example ra3.4xlarge.
sourceReservedNodeType
- The source reserved-node type, for example ra3.4xlarge.public String getSourceReservedNodeType()
The source reserved-node type, for example ra3.4xlarge.
public ReservedNodeExchangeStatus withSourceReservedNodeType(String sourceReservedNodeType)
The source reserved-node type, for example ra3.4xlarge.
sourceReservedNodeType
- The source reserved-node type, for example ra3.4xlarge.public void setSourceReservedNodeCount(Integer sourceReservedNodeCount)
The source reserved-node count in the cluster.
sourceReservedNodeCount
- The source reserved-node count in the cluster.public Integer getSourceReservedNodeCount()
The source reserved-node count in the cluster.
public ReservedNodeExchangeStatus withSourceReservedNodeCount(Integer sourceReservedNodeCount)
The source reserved-node count in the cluster.
sourceReservedNodeCount
- The source reserved-node count in the cluster.public void setTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
targetReservedNodeOfferingId
- The identifier of the target reserved node offering.public String getTargetReservedNodeOfferingId()
The identifier of the target reserved node offering.
public ReservedNodeExchangeStatus withTargetReservedNodeOfferingId(String targetReservedNodeOfferingId)
The identifier of the target reserved node offering.
targetReservedNodeOfferingId
- The identifier of the target reserved node offering.public void setTargetReservedNodeType(String targetReservedNodeType)
The node type of the target reserved node, for example ra3.4xlarge.
targetReservedNodeType
- The node type of the target reserved node, for example ra3.4xlarge.public String getTargetReservedNodeType()
The node type of the target reserved node, for example ra3.4xlarge.
public ReservedNodeExchangeStatus withTargetReservedNodeType(String targetReservedNodeType)
The node type of the target reserved node, for example ra3.4xlarge.
targetReservedNodeType
- The node type of the target reserved node, for example ra3.4xlarge.public void setTargetReservedNodeCount(Integer targetReservedNodeCount)
The count of target reserved nodes in the cluster.
targetReservedNodeCount
- The count of target reserved nodes in the cluster.public Integer getTargetReservedNodeCount()
The count of target reserved nodes in the cluster.
public ReservedNodeExchangeStatus withTargetReservedNodeCount(Integer targetReservedNodeCount)
The count of target reserved nodes in the cluster.
targetReservedNodeCount
- The count of target reserved nodes in the cluster.public String toString()
toString
in class Object
Object.toString()
public ReservedNodeExchangeStatus clone()