public static interface CreateReservedInstancesListingRequest.Builder extends Ec2Request.Builder, 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)
Add an optional request override configuration.
|
CreateReservedInstancesListingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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
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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #priceSchedules(List)
.priceSchedules
- a consumer that will call methods on List.Builder
#priceSchedules(List)
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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateReservedInstancesListingRequest.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.