Interface GetReservationUtilizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetReservationUtilizationResponse.Builder,,GetReservationUtilizationResponse> CostExplorerResponse.Builder,SdkBuilder<GetReservationUtilizationResponse.Builder,,GetReservationUtilizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetReservationUtilizationResponse
-
Method Summary
Modifier and TypeMethodDescriptionnextPageToken(String nextPageToken) The token for the next set of retrievable results.The total amount of time that you used your Reserved Instances (RIs).total(ReservationAggregates total) The total amount of time that you used your Reserved Instances (RIs).utilizationsByTime(Collection<UtilizationByTime> utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).utilizationsByTime(Consumer<UtilizationByTime.Builder>... utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).utilizationsByTime(UtilizationByTime... utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
utilizationsByTime
GetReservationUtilizationResponse.Builder utilizationsByTime(Collection<UtilizationByTime> utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).
- Parameters:
utilizationsByTime- The amount of time that you used your Reserved Instances (RIs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationsByTime
GetReservationUtilizationResponse.Builder utilizationsByTime(UtilizationByTime... utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).
- Parameters:
utilizationsByTime- The amount of time that you used your Reserved Instances (RIs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationsByTime
GetReservationUtilizationResponse.Builder utilizationsByTime(Consumer<UtilizationByTime.Builder>... utilizationsByTime) The amount of time that you used your Reserved Instances (RIs).
This is a convenience method that creates an instance of theUtilizationByTime.Builderavoiding the need to create one manually viaUtilizationByTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toutilizationsByTime(List<UtilizationByTime>).- Parameters:
utilizationsByTime- a consumer that will call methods onUtilizationByTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
total
The total amount of time that you used your Reserved Instances (RIs).
- Parameters:
total- The total amount of time that you used your Reserved Instances (RIs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
default GetReservationUtilizationResponse.Builder total(Consumer<ReservationAggregates.Builder> total) The total amount of time that you used your Reserved Instances (RIs).
This is a convenience method that creates an instance of theReservationAggregates.Builderavoiding the need to create one manually viaReservationAggregates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(ReservationAggregates).- Parameters:
total- a consumer that will call methods onReservationAggregates.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-