Interface PurchaseOfferingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PurchaseOfferingRequest.Builder,
,PurchaseOfferingRequest> DeviceFarmRequest.Builder
,SdkBuilder<PurchaseOfferingRequest.Builder,
,PurchaseOfferingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PurchaseOfferingRequest
public static interface PurchaseOfferingRequest.Builder
extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<PurchaseOfferingRequest.Builder,PurchaseOfferingRequest>
-
Method Summary
Modifier and TypeMethodDescriptionofferingId
(String offeringId) The ID of the offering.offeringPromotionId
(String offeringPromotionId) The ID of the offering promotion to be applied to the purchase.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The number of device slots to purchase in an offering request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
quantity
The number of device slots to purchase in an offering request.
- Parameters:
quantity
- The number of device slots to purchase in an offering request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringPromotionId
The ID of the offering promotion to be applied to the purchase.
- Parameters:
offeringPromotionId
- The ID of the offering promotion to be applied to the purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PurchaseOfferingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PurchaseOfferingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-