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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the offering.The number of device slots you wish to purchase in an offering request.int
hashCode()
void
setOfferingId
(String offeringId) The ID of the offering.void
setQuantity
(Integer quantity) The number of device slots you wish to purchase in an offering request.toString()
Returns a string representation of this object; useful for testing and debugging.withOfferingId
(String offeringId) The ID of the offering.withQuantity
(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
-
Constructor Details
-
PurchaseOfferingRequest
public PurchaseOfferingRequest()
-
-
Method Details
-
setOfferingId
The ID of the offering.
- Parameters:
offeringId
- The ID of the offering.
-
getOfferingId
The ID of the offering.
- Returns:
- The ID of the offering.
-
withOfferingId
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-