Class PurchaseOfferingRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.devicefarm.model.PurchaseOfferingRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class PurchaseOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request for a purchase offering.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PurchaseOfferingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurchaseOfferingRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetOfferingId()The ID of the offering.IntegergetQuantity()The number of device slots you wish to purchase in an offering request.inthashCode()voidsetOfferingId(String offeringId)The ID of the offering.voidsetQuantity(Integer quantity)The number of device slots you wish to purchase in an offering request.StringtoString()Returns a string representation of this object; useful for testing and debugging.PurchaseOfferingRequestwithOfferingId(String offeringId)The ID of the offering.PurchaseOfferingRequestwithQuantity(Integer quantity)The number of device slots you wish to purchase in an offering request.-
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 the offering.
- Parameters:
offeringId- The ID of the offering.
-
getOfferingId
public String getOfferingId()
The ID of the offering.
- Returns:
- The ID of the offering.
-
withOfferingId
public PurchaseOfferingRequest withOfferingId(String offeringId)
The ID of the offering.
- Parameters:
offeringId- The ID of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setQuantity
public void setQuantity(Integer quantity)
The number of device slots you wish to purchase in an offering request.
- Parameters:
quantity- The number of device slots you wish to purchase in an offering request.
-
getQuantity
public Integer getQuantity()
The number of device slots you wish to purchase in an offering request.
- Returns:
- The number of device slots you wish to purchase in an offering request.
-
withQuantity
public PurchaseOfferingRequest withQuantity(Integer quantity)
The number of device slots you wish to purchase in an offering request.
- Parameters:
quantity- The number of device slots you wish to purchase in an offering request.- 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 PurchaseOfferingRequest 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()
-
-