@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCapacityReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCapacityReservationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCapacityReservationRequest |
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.
|
Integer |
getTargetDpus()
The new number of requested data processing units.
|
int |
hashCode() |
void |
setName(String name)
The name of the capacity reservation.
|
void |
setTargetDpus(Integer targetDpus)
The new number of requested data processing units.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCapacityReservationRequest |
withName(String name)
The name of the capacity reservation.
|
UpdateCapacityReservationRequest |
withTargetDpus(Integer targetDpus)
The new number of requested data processing units.
|
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 void setTargetDpus(Integer targetDpus)
The new number of requested data processing units.
targetDpus
- The new number of requested data processing units.public Integer getTargetDpus()
The new number of requested data processing units.
public UpdateCapacityReservationRequest withTargetDpus(Integer targetDpus)
The new number of requested data processing units.
targetDpus
- The new number of requested data processing units.public void setName(String name)
The name of the capacity reservation.
name
- The name of the capacity reservation.public String getName()
The name of the capacity reservation.
public UpdateCapacityReservationRequest withName(String name)
The name of the capacity reservation.
name
- The name of the capacity reservation.public String toString()
toString
in class Object
Object.toString()
public UpdateCapacityReservationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()