@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelCapacityReservationFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CancelCapacityReservationFleetsRequest>
NOOP
Constructor and Description |
---|
CancelCapacityReservationFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
CancelCapacityReservationFleetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCapacityReservationFleetIds()
The IDs of the Capacity Reservation Fleets to cancel.
|
Request<CancelCapacityReservationFleetsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to cancel.
|
String |
toString()
Returns a string representation of this object.
|
CancelCapacityReservationFleetsRequest |
withCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to cancel.
|
CancelCapacityReservationFleetsRequest |
withCapacityReservationFleetIds(String... capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets 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, withSdkRequestTimeout
public CancelCapacityReservationFleetsRequest()
public List<String> getCapacityReservationFleetIds()
The IDs of the Capacity Reservation Fleets to cancel.
public void setCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to cancel.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to cancel.public CancelCapacityReservationFleetsRequest withCapacityReservationFleetIds(String... capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to cancel.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityReservationFleetIds(java.util.Collection)
or
withCapacityReservationFleetIds(java.util.Collection)
if you want to override the existing values.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to cancel.public CancelCapacityReservationFleetsRequest withCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to cancel.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to cancel.public Request<CancelCapacityReservationFleetsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelCapacityReservationFleetsRequest>
public String toString()
toString
in class Object
Object.toString()
public CancelCapacityReservationFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()