@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceCapacityReservationAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyInstanceCapacityReservationAttributesRequest>
NOOP
Constructor and Description |
---|
ModifyInstanceCapacityReservationAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyInstanceCapacityReservationAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CapacityReservationSpecification |
getCapacityReservationSpecification()
Information about the Capacity Reservation targeting option.
|
Request<ModifyInstanceCapacityReservationAttributesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance to be modified.
|
int |
hashCode() |
void |
setCapacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
void |
setInstanceId(String instanceId)
The ID of the instance to be modified.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceCapacityReservationAttributesRequest |
withCapacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
ModifyInstanceCapacityReservationAttributesRequest |
withInstanceId(String instanceId)
The ID of the instance to be modified.
|
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 ModifyInstanceCapacityReservationAttributesRequest()
public void setInstanceId(String instanceId)
The ID of the instance to be modified.
instanceId
- The ID of the instance to be modified.public String getInstanceId()
The ID of the instance to be modified.
public ModifyInstanceCapacityReservationAttributesRequest withInstanceId(String instanceId)
The ID of the instance to be modified.
instanceId
- The ID of the instance to be modified.public void setCapacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
capacityReservationSpecification
- Information about the Capacity Reservation targeting option.public CapacityReservationSpecification getCapacityReservationSpecification()
Information about the Capacity Reservation targeting option.
public ModifyInstanceCapacityReservationAttributesRequest withCapacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
capacityReservationSpecification
- Information about the Capacity Reservation targeting option.public Request<ModifyInstanceCapacityReservationAttributesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyInstanceCapacityReservationAttributesRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceCapacityReservationAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()