@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityReservationTargetResponse extends Object implements Serializable, Cloneable
Describes a target Capacity Reservation or Capacity Reservation group.
Constructor and Description |
---|
CapacityReservationTargetResponse() |
Modifier and Type | Method and Description |
---|---|
CapacityReservationTargetResponse |
clone() |
boolean |
equals(Object obj) |
String |
getCapacityReservationId()
The ID of the targeted Capacity Reservation.
|
String |
getCapacityReservationResourceGroupArn()
The ARN of the targeted Capacity Reservation group.
|
int |
hashCode() |
void |
setCapacityReservationId(String capacityReservationId)
The ID of the targeted Capacity Reservation.
|
void |
setCapacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
The ARN of the targeted Capacity Reservation group.
|
String |
toString()
Returns a string representation of this object.
|
CapacityReservationTargetResponse |
withCapacityReservationId(String capacityReservationId)
The ID of the targeted Capacity Reservation.
|
CapacityReservationTargetResponse |
withCapacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
The ARN of the targeted Capacity Reservation group.
|
public void setCapacityReservationId(String capacityReservationId)
The ID of the targeted Capacity Reservation.
capacityReservationId
- The ID of the targeted Capacity Reservation.public String getCapacityReservationId()
The ID of the targeted Capacity Reservation.
public CapacityReservationTargetResponse withCapacityReservationId(String capacityReservationId)
The ID of the targeted Capacity Reservation.
capacityReservationId
- The ID of the targeted Capacity Reservation.public void setCapacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
The ARN of the targeted Capacity Reservation group.
capacityReservationResourceGroupArn
- The ARN of the targeted Capacity Reservation group.public String getCapacityReservationResourceGroupArn()
The ARN of the targeted Capacity Reservation group.
public CapacityReservationTargetResponse withCapacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
The ARN of the targeted Capacity Reservation group.
capacityReservationResourceGroupArn
- The ARN of the targeted Capacity Reservation group.public String toString()
toString
in class Object
Object.toString()
public CapacityReservationTargetResponse clone()