Interface PurchaseOfferingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PurchaseOfferingRequest.Builder,,PurchaseOfferingRequest> DeviceFarmRequest.Builder,SdkBuilder<PurchaseOfferingRequest.Builder,,PurchaseOfferingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PurchaseOfferingRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-