public static interface PurchaseReservedInstancesOfferingRequest.Builder extends EC2Request.Builder, CopyableBuilder<PurchaseReservedInstancesOfferingRequest.Builder,PurchaseReservedInstancesOfferingRequest>
| Modifier and Type | Method and Description |
|---|---|
PurchaseReservedInstancesOfferingRequest.Builder |
instanceCount(Integer instanceCount)
The number of Reserved Instances to purchase.
|
default PurchaseReservedInstancesOfferingRequest.Builder |
limitPrice(Consumer<ReservedInstanceLimitPrice.Builder> limitPrice)
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved
Instances are not purchased at unexpected prices.
|
PurchaseReservedInstancesOfferingRequest.Builder |
limitPrice(ReservedInstanceLimitPrice limitPrice)
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved
Instances are not purchased at unexpected prices.
|
PurchaseReservedInstancesOfferingRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PurchaseReservedInstancesOfferingRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
PurchaseReservedInstancesOfferingRequest.Builder |
reservedInstancesOfferingId(String reservedInstancesOfferingId)
The ID of the Reserved Instance offering to purchase.
|
buildrequestOverrideConfigcopyapply, buildPurchaseReservedInstancesOfferingRequest.Builder instanceCount(Integer instanceCount)
The number of Reserved Instances to purchase.
instanceCount - The number of Reserved Instances to purchase.PurchaseReservedInstancesOfferingRequest.Builder reservedInstancesOfferingId(String reservedInstancesOfferingId)
The ID of the Reserved Instance offering to purchase.
reservedInstancesOfferingId - The ID of the Reserved Instance offering to purchase.PurchaseReservedInstancesOfferingRequest.Builder limitPrice(ReservedInstanceLimitPrice limitPrice)
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
limitPrice - Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the
Reserved Instances are not purchased at unexpected prices.default PurchaseReservedInstancesOfferingRequest.Builder limitPrice(Consumer<ReservedInstanceLimitPrice.Builder> limitPrice)
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
This is a convenience that creates an instance of theReservedInstanceLimitPrice.Builder avoiding the
need to create one manually via ReservedInstanceLimitPrice.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to limitPrice(ReservedInstanceLimitPrice).limitPrice - a consumer that will call methods on ReservedInstanceLimitPrice.BuilderlimitPrice(ReservedInstanceLimitPrice)PurchaseReservedInstancesOfferingRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PurchaseReservedInstancesOfferingRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.