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 AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe ID of the offering.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.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 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
-
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
-
equals
-
hashCode
-
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:
-