public static interface CreateReservedInstancesListingRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
Modifier and Type | Method and Description |
---|---|
CreateReservedInstancesListingRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings.
|
CreateReservedInstancesListingRequest.Builder |
instanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance
Marketplace.
|
CreateReservedInstancesListingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateReservedInstancesListingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateReservedInstancesListingRequest.Builder |
priceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.
|
CreateReservedInstancesListingRequest.Builder |
priceSchedules(Consumer<PriceScheduleSpecification.Builder>... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.
|
CreateReservedInstancesListingRequest.Builder |
priceSchedules(PriceScheduleSpecification... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.
|
CreateReservedInstancesListingRequest.Builder |
reservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateReservedInstancesListingRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid
duplicate listings. For more information, see Ensuring
Idempotency.CreateReservedInstancesListingRequest.Builder instanceCount(Integer instanceCount)
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
instanceCount
- The number of instances that are a part of a Reserved Instance account to be listed in the Reserved
Instance Marketplace. This number should be less than or equal to the instance count associated with
the Reserved Instance ID specified in this call.CreateReservedInstancesListingRequest.Builder priceSchedules(Collection<PriceScheduleSpecification> priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
priceSchedules
- A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.CreateReservedInstancesListingRequest.Builder priceSchedules(PriceScheduleSpecification... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
priceSchedules
- A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
Instance term.CreateReservedInstancesListingRequest.Builder priceSchedules(Consumer<PriceScheduleSpecification.Builder>... priceSchedules)
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
This is a convenience method that creates an instance of thePriceScheduleSpecification.Builder
avoiding the need to
create one manually via
PriceScheduleSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #priceSchedules(List
.
priceSchedules
- a consumer that will call methods on
PriceScheduleSpecification.Builder
#priceSchedules(java.util.Collection)
CreateReservedInstancesListingRequest.Builder reservedInstancesId(String reservedInstancesId)
The ID of the active Standard Reserved Instance.
reservedInstancesId
- The ID of the active Standard Reserved Instance.CreateReservedInstancesListingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateReservedInstancesListingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.