@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelCapacityReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CancelCapacityReservationRequest>
NOOP| Constructor and Description |
|---|
CancelCapacityReservationRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelCapacityReservationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCapacityReservationId()
The ID of the Capacity Reservation to be cancelled.
|
Request<CancelCapacityReservationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation to be cancelled.
|
String |
toString()
Returns a string representation of this object.
|
CancelCapacityReservationRequest |
withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation to be cancelled.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation to be cancelled.
capacityReservationId - The ID of the Capacity Reservation to be cancelled.public String getCapacityReservationId()
The ID of the Capacity Reservation to be cancelled.
public CancelCapacityReservationRequest withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation to be cancelled.
capacityReservationId - The ID of the Capacity Reservation to be cancelled.public Request<CancelCapacityReservationRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CancelCapacityReservationRequest>public String toString()
toString in class ObjectObject.toString()public CancelCapacityReservationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()