@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityReservationTargetResponse extends Object implements Serializable, Cloneable
Describes a target Capacity Reservation.
Constructor and Description |
---|
CapacityReservationTargetResponse() |
Modifier and Type | Method and Description |
---|---|
CapacityReservationTargetResponse |
clone() |
boolean |
equals(Object obj) |
String |
getCapacityReservationId()
The ID of the Capacity Reservation.
|
int |
hashCode() |
void |
setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
String |
toString()
Returns a string representation of this object.
|
CapacityReservationTargetResponse |
withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
public void setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public String getCapacityReservationId()
The ID of the Capacity Reservation.
public CapacityReservationTargetResponse withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public String toString()
toString
in class Object
Object.toString()
public CapacityReservationTargetResponse clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.