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