Interface GetReservationUtilizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetReservationUtilizationResponse.Builder,GetReservationUtilizationResponse>,CostExplorerResponse.Builder,SdkBuilder<GetReservationUtilizationResponse.Builder,GetReservationUtilizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetReservationUtilizationResponse
public static interface GetReservationUtilizationResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetReservationUtilizationResponse.Builder,GetReservationUtilizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetReservationUtilizationResponse.BuildernextPageToken(String nextPageToken)The token for the next set of retrievable results.default GetReservationUtilizationResponse.Buildertotal(Consumer<ReservationAggregates.Builder> total)The total amount of time that you used your Reserved Instances (RIs).GetReservationUtilizationResponse.Buildertotal(ReservationAggregates total)The total amount of time that you used your Reserved Instances (RIs).GetReservationUtilizationResponse.BuilderutilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)The amount of time that you used your Reserved Instances (RIs).GetReservationUtilizationResponse.BuilderutilizationsByTime(Consumer<UtilizationByTime.Builder>... utilizationsByTime)The amount of time that you used your Reserved Instances (RIs).GetReservationUtilizationResponse.BuilderutilizationsByTime(UtilizationByTime... utilizationsByTime)The amount of time that you used your Reserved Instances (RIs).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#utilizationsByTime(List.) - 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:
#utilizationsByTime(java.util.Collection)
-
total
GetReservationUtilizationResponse.Builder total(ReservationAggregates 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:
total(ReservationAggregates)
-
nextPageToken
GetReservationUtilizationResponse.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.
- 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.
-
-