@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenewOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request that represents an offering renewal.
NOOP
Constructor and Description |
---|
RenewOfferingRequest() |
Modifier and Type | Method and Description |
---|---|
RenewOfferingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getOfferingId()
The ID of a request to renew an offering.
|
Integer |
getQuantity()
The quantity requested in an offering renewal.
|
int |
hashCode() |
void |
setOfferingId(String offeringId)
The ID of a request to renew an offering.
|
void |
setQuantity(Integer quantity)
The quantity requested in an offering renewal.
|
String |
toString()
Returns a string representation of this object.
|
RenewOfferingRequest |
withOfferingId(String offeringId)
The ID of a request to renew an offering.
|
RenewOfferingRequest |
withQuantity(Integer quantity)
The quantity requested in an offering renewal.
|
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 setOfferingId(String offeringId)
The ID of a request to renew an offering.
offeringId
- The ID of a request to renew an offering.public String getOfferingId()
The ID of a request to renew an offering.
public RenewOfferingRequest withOfferingId(String offeringId)
The ID of a request to renew an offering.
offeringId
- The ID of a request to renew an offering.public void setQuantity(Integer quantity)
The quantity requested in an offering renewal.
quantity
- The quantity requested in an offering renewal.public Integer getQuantity()
The quantity requested in an offering renewal.
public RenewOfferingRequest withQuantity(Integer quantity)
The quantity requested in an offering renewal.
quantity
- The quantity requested in an offering renewal.public String toString()
toString
in class Object
Object.toString()
public RenewOfferingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()