@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateReservationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateReservationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
Name of the reservation
|
RenewalSettings |
getRenewalSettings()
Renewal settings for the reservation
|
String |
getReservationId()
Unique reservation ID, e.g.
|
int |
hashCode() |
void |
setName(String name)
Name of the reservation
|
void |
setRenewalSettings(RenewalSettings renewalSettings)
Renewal settings for the reservation
|
void |
setReservationId(String reservationId)
Unique reservation ID, e.g.
|
String |
toString()
Returns a string representation of this object.
|
UpdateReservationRequest |
withName(String name)
Name of the reservation
|
UpdateReservationRequest |
withRenewalSettings(RenewalSettings renewalSettings)
Renewal settings for the reservation
|
UpdateReservationRequest |
withReservationId(String reservationId)
Unique reservation ID, e.g.
|
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 setName(String name)
name
- Name of the reservationpublic String getName()
public UpdateReservationRequest withName(String name)
name
- Name of the reservationpublic void setRenewalSettings(RenewalSettings renewalSettings)
renewalSettings
- Renewal settings for the reservationpublic RenewalSettings getRenewalSettings()
public UpdateReservationRequest withRenewalSettings(RenewalSettings renewalSettings)
renewalSettings
- Renewal settings for the reservationpublic void setReservationId(String reservationId)
reservationId
- Unique reservation ID, e.g. '1234567'public String getReservationId()
public UpdateReservationRequest withReservationId(String reservationId)
reservationId
- Unique reservation ID, e.g. '1234567'public String toString()
toString
in class Object
Object.toString()
public UpdateReservationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()