@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelCapacityReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getName()
The name of the capacity reservation to cancel.
|
int |
hashCode() |
void |
setName(String name)
The name of the capacity reservation to cancel.
|
String |
toString()
Returns a string representation of this object.
|
CancelCapacityReservationRequest |
withName(String name)
The name of the capacity reservation to cancel.
|
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 setName(String name)
The name of the capacity reservation to cancel.
name - The name of the capacity reservation to cancel.public String getName()
The name of the capacity reservation to cancel.
public CancelCapacityReservationRequest withName(String name)
The name of the capacity reservation to cancel.
name - The name of the capacity reservation to cancel.public String toString()
toString in class ObjectObject.toString()public CancelCapacityReservationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()