CopyableBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
, SdkBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
public static interface CreateReservedInstancesListingRequest.Builder extends CopyableBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
Modifier and Type | Method | 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 |
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(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.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setPriceSchedules(java.util.Collection)
or #withPriceSchedules(java.util.Collection)
if you
want to override the existing values.
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.
reservedInstancesId
- The ID of the active Standard Reserved Instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.