Class RenewOfferingRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.devicefarm.model.RenewOfferingRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RenewOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request representing an offering renewal.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RenewOfferingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenewOfferingRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetOfferingId()The ID of a request to renew an offering.IntegergetQuantity()The quantity requested in an offering renewal.inthashCode()voidsetOfferingId(String offeringId)The ID of a request to renew an offering.voidsetQuantity(Integer quantity)The quantity requested in an offering renewal.StringtoString()Returns a string representation of this object; useful for testing and debugging.RenewOfferingRequestwithOfferingId(String offeringId)The ID of a request to renew an offering.RenewOfferingRequestwithQuantity(Integer quantity)The quantity requested in an offering renewal.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setOfferingId
public void setOfferingId(String offeringId)
The ID of a request to renew an offering.
- Parameters:
offeringId- The ID of a request to renew an offering.
-
getOfferingId
public String getOfferingId()
The ID of a request to renew an offering.
- Returns:
- The ID of a request to renew an offering.
-
withOfferingId
public RenewOfferingRequest withOfferingId(String offeringId)
The ID of a request to renew an offering.
- Parameters:
offeringId- The ID of a request to renew an offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setQuantity
public void setQuantity(Integer quantity)
The quantity requested in an offering renewal.
- Parameters:
quantity- The quantity requested in an offering renewal.
-
getQuantity
public Integer getQuantity()
The quantity requested in an offering renewal.
- Returns:
- The quantity requested in an offering renewal.
-
withQuantity
public RenewOfferingRequest withQuantity(Integer quantity)
The quantity requested in an offering renewal.
- Parameters:
quantity- The quantity requested in an offering renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RenewOfferingRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-