public static interface PurchaseOfferingRequest.Builder extends DeviceFarmRequest.Builder, CopyableBuilder<PurchaseOfferingRequest.Builder,PurchaseOfferingRequest>
Modifier and Type | Method and Description |
---|---|
PurchaseOfferingRequest.Builder |
offeringId(String offeringId)
The ID of the offering.
|
PurchaseOfferingRequest.Builder |
offeringPromotionId(String offeringPromotionId)
The ID of the offering promotion to be applied to the purchase.
|
PurchaseOfferingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PurchaseOfferingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PurchaseOfferingRequest.Builder |
quantity(Integer quantity)
The number of device slots you wish to purchase in an offering request.
|
build
overrideConfiguration
copy
applyMutation, build
PurchaseOfferingRequest.Builder offeringId(String offeringId)
The ID of the offering.
offeringId
- The ID of the offering.PurchaseOfferingRequest.Builder quantity(Integer quantity)
The number of device slots you wish to purchase in an offering request.
quantity
- The number of device slots you wish to purchase in an offering request.PurchaseOfferingRequest.Builder offeringPromotionId(String offeringPromotionId)
The ID of the offering promotion to be applied to the purchase.
offeringPromotionId
- The ID of the offering promotion to be applied to the purchase.PurchaseOfferingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PurchaseOfferingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.