@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseCapacityBlockResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PurchaseCapacityBlockResult() |
Modifier and Type | Method and Description |
---|---|
PurchaseCapacityBlockResult |
clone() |
boolean |
equals(Object obj) |
CapacityReservation |
getCapacityReservation()
The Capacity Reservation.
|
int |
hashCode() |
void |
setCapacityReservation(CapacityReservation capacityReservation)
The Capacity Reservation.
|
String |
toString()
Returns a string representation of this object.
|
PurchaseCapacityBlockResult |
withCapacityReservation(CapacityReservation capacityReservation)
The Capacity Reservation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCapacityReservation(CapacityReservation capacityReservation)
The Capacity Reservation.
capacityReservation
- The Capacity Reservation.public CapacityReservation getCapacityReservation()
The Capacity Reservation.
public PurchaseCapacityBlockResult withCapacityReservation(CapacityReservation capacityReservation)
The Capacity Reservation.
capacityReservation
- The Capacity Reservation.public String toString()
toString
in class Object
Object.toString()
public PurchaseCapacityBlockResult clone()