public static interface ReservedInstancesListing.Builder extends SdkPojo, CopyableBuilder<ReservedInstancesListing.Builder,ReservedInstancesListing>
Modifier and Type | Method and Description |
---|---|
ReservedInstancesListing.Builder |
clientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.
|
ReservedInstancesListing.Builder |
createDate(Instant createDate)
The time the listing was created.
|
ReservedInstancesListing.Builder |
instanceCounts(Collection<InstanceCount> instanceCounts)
The number of instances in this state.
|
ReservedInstancesListing.Builder |
instanceCounts(Consumer<InstanceCount.Builder>... instanceCounts)
The number of instances in this state.
|
ReservedInstancesListing.Builder |
instanceCounts(InstanceCount... instanceCounts)
The number of instances in this state.
|
ReservedInstancesListing.Builder |
priceSchedules(Collection<PriceSchedule> priceSchedules)
The price of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
priceSchedules(Consumer<PriceSchedule.Builder>... priceSchedules)
The price of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
priceSchedules(PriceSchedule... priceSchedules)
The price of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
reservedInstancesId(String reservedInstancesId)
The ID of the Reserved Instance.
|
ReservedInstancesListing.Builder |
reservedInstancesListingId(String reservedInstancesListingId)
The ID of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
status(ListingStatus status)
The status of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
status(String status)
The status of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
statusMessage(String statusMessage)
The reason for the current status of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the resource.
|
ReservedInstancesListing.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the resource.
|
ReservedInstancesListing.Builder |
tags(Tag... tags)
Any tags assigned to the resource.
|
ReservedInstancesListing.Builder |
updateDate(Instant updateDate)
The last modified timestamp of the listing.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedInstancesListing.Builder clientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more
information, see Ensuring
Idempotency.ReservedInstancesListing.Builder createDate(Instant createDate)
The time the listing was created.
createDate
- The time the listing was created.ReservedInstancesListing.Builder instanceCounts(Collection<InstanceCount> instanceCounts)
The number of instances in this state.
instanceCounts
- The number of instances in this state.ReservedInstancesListing.Builder instanceCounts(InstanceCount... instanceCounts)
The number of instances in this state.
instanceCounts
- The number of instances in this state.ReservedInstancesListing.Builder instanceCounts(Consumer<InstanceCount.Builder>... instanceCounts)
The number of instances in this state.
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 #instanceCounts(List)
.instanceCounts
- a consumer that will call methods on List.Builder
#instanceCounts(List)
ReservedInstancesListing.Builder priceSchedules(Collection<PriceSchedule> priceSchedules)
The price of the Reserved Instance listing.
priceSchedules
- The price of the Reserved Instance listing.ReservedInstancesListing.Builder priceSchedules(PriceSchedule... priceSchedules)
The price of the Reserved Instance listing.
priceSchedules
- The price of the Reserved Instance listing.ReservedInstancesListing.Builder priceSchedules(Consumer<PriceSchedule.Builder>... priceSchedules)
The price of the Reserved Instance listing.
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)
ReservedInstancesListing.Builder reservedInstancesId(String reservedInstancesId)
The ID of the Reserved Instance.
reservedInstancesId
- The ID of the Reserved Instance.ReservedInstancesListing.Builder reservedInstancesListingId(String reservedInstancesListingId)
The ID of the Reserved Instance listing.
reservedInstancesListingId
- The ID of the Reserved Instance listing.ReservedInstancesListing.Builder status(String status)
The status of the Reserved Instance listing.
status
- The status of the Reserved Instance listing.ListingStatus
,
ListingStatus
ReservedInstancesListing.Builder status(ListingStatus status)
The status of the Reserved Instance listing.
status
- The status of the Reserved Instance listing.ListingStatus
,
ListingStatus
ReservedInstancesListing.Builder statusMessage(String statusMessage)
The reason for the current status of the Reserved Instance listing. The response can be blank.
statusMessage
- The reason for the current status of the Reserved Instance listing. The response can be blank.ReservedInstancesListing.Builder tags(Collection<Tag> tags)
Any tags assigned to the resource.
tags
- Any tags assigned to the resource.ReservedInstancesListing.Builder tags(Tag... tags)
Any tags assigned to the resource.
tags
- Any tags assigned to the resource.ReservedInstancesListing.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the resource.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ReservedInstancesListing.Builder updateDate(Instant updateDate)
The last modified timestamp of the listing.
updateDate
- The last modified timestamp of the listing.Copyright © 2020. All rights reserved.