@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProvisionedCapacityDescription extends Object implements Serializable, Cloneable, StructuredPojo
The definition for a provisioned capacity unit.
Constructor and Description |
---|
ProvisionedCapacityDescription() |
Modifier and Type | Method and Description |
---|---|
ProvisionedCapacityDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCapacityId()
The ID that identifies the provisioned capacity unit.
|
String |
getExpirationDate()
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
|
String |
getStartDate()
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacityId(String capacityId)
The ID that identifies the provisioned capacity unit.
|
void |
setExpirationDate(String expirationDate)
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
|
void |
setStartDate(String startDate)
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ProvisionedCapacityDescription |
withCapacityId(String capacityId)
The ID that identifies the provisioned capacity unit.
|
ProvisionedCapacityDescription |
withExpirationDate(String expirationDate)
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
|
ProvisionedCapacityDescription |
withStartDate(String startDate)
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
|
public void setCapacityId(String capacityId)
The ID that identifies the provisioned capacity unit.
capacityId
- The ID that identifies the provisioned capacity unit.public String getCapacityId()
The ID that identifies the provisioned capacity unit.
public ProvisionedCapacityDescription withCapacityId(String capacityId)
The ID that identifies the provisioned capacity unit.
capacityId
- The ID that identifies the provisioned capacity unit.public void setStartDate(String startDate)
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
startDate
- The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).public String getStartDate()
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
public ProvisionedCapacityDescription withStartDate(String startDate)
The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).
startDate
- The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).public void setExpirationDate(String expirationDate)
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
expirationDate
- The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).public String getExpirationDate()
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
public ProvisionedCapacityDescription withExpirationDate(String expirationDate)
The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).
expirationDate
- The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).public String toString()
toString
in class Object
Object.toString()
public ProvisionedCapacityDescription 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.