CopyableBuilder<ReservedInstancesListing.Builder,ReservedInstancesListing>
, SdkBuilder<ReservedInstancesListing.Builder,ReservedInstancesListing>
public static interface ReservedInstancesListing.Builder extends CopyableBuilder<ReservedInstancesListing.Builder,ReservedInstancesListing>
Modifier and Type | Method | 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(Date createDate) |
The time the listing was created.
|
ReservedInstancesListing.Builder |
instanceCounts(Collection<InstanceCount> 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(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(String status) |
The status of the Reserved Instance listing.
|
ReservedInstancesListing.Builder |
status(ListingStatus 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(Tag... tags) |
Any tags assigned to the resource.
|
ReservedInstancesListing.Builder |
updateDate(Date updateDate) |
The last modified timestamp of the listing.
|
copy
apply, 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(Date 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.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceCounts(java.util.Collection)
or #withInstanceCounts(java.util.Collection)
if you
want to override the existing values.
instanceCounts
- The number of instances in this state.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.
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
- The price of the Reserved Instance listing.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
ReservedInstancesListing.Builder status(ListingStatus status)
The status of the Reserved Instance listing.
status
- The status of the Reserved Instance listing.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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the resource.ReservedInstancesListing.Builder updateDate(Date updateDate)
The last modified timestamp of the listing.
updateDate
- The last modified timestamp of the listing.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.