public static interface GetReservationCoverageResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetReservationCoverageResponse.Builder,GetReservationCoverageResponse>
| Modifier and Type | Method and Description |
|---|---|
GetReservationCoverageResponse.Builder |
coveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
|
GetReservationCoverageResponse.Builder |
coveragesByTime(Consumer<CoverageByTime.Builder>... coveragesByTime)
The amount of time that your reservations covered.
|
GetReservationCoverageResponse.Builder |
coveragesByTime(CoverageByTime... coveragesByTime)
The amount of time that your reservations covered.
|
GetReservationCoverageResponse.Builder |
nextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
default GetReservationCoverageResponse.Builder |
total(Consumer<Coverage.Builder> total)
The total amount of instance usage that a reservation covered.
|
GetReservationCoverageResponse.Builder |
total(Coverage total)
The total amount of instance usage that a reservation covered.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetReservationCoverageResponse.Builder coveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
coveragesByTime - The amount of time that your reservations covered.GetReservationCoverageResponse.Builder coveragesByTime(CoverageByTime... coveragesByTime)
The amount of time that your reservations covered.
coveragesByTime - The amount of time that your reservations covered.GetReservationCoverageResponse.Builder coveragesByTime(Consumer<CoverageByTime.Builder>... coveragesByTime)
The amount of time that your reservations covered.
This is a convenience method that creates an instance of theCoverageByTime.Builder avoiding the need to create
one manually via CoverageByTime.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #coveragesByTime(List.
coveragesByTime - a consumer that will call methods on
CoverageByTime.Builder#coveragesByTime(java.util.Collection) GetReservationCoverageResponse.Builder total(Coverage total)
The total amount of instance usage that a reservation covered.
total - The total amount of instance usage that a reservation covered.default GetReservationCoverageResponse.Builder total(Consumer<Coverage.Builder> total)
The total amount of instance usage that a reservation covered.
This is a convenience method that creates an instance of theCoverage.Builder avoiding the need to
create one manually via Coverage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to total(Coverage).
total - a consumer that will call methods on Coverage.Buildertotal(Coverage)GetReservationCoverageResponse.Builder nextPageToken(String nextPageToken)
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken - The token for the next set of retrievable results. Amazon Web Services provides the token when the
response from a previous call has more results than the maximum page size.Copyright © 2022. All rights reserved.