Interface ReservationUtilizationQuery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservationUtilizationQuery.Builder,
,ReservationUtilizationQuery> SdkBuilder<ReservationUtilizationQuery.Builder,
,ReservationUtilizationQuery> SdkPojo
- Enclosing class:
ReservationUtilizationQuery
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(Consumer<Expression.Builder> filter) Sets the value of the Filter property for this object.filter
(Expression filter) Sets the value of the Filter property for this object.granularity
(String granularity) The time granularity of the retrieved data:HOURLY
,DAILY
, orMONTHLY
.granularity
(Granularity granularity) The time granularity of the retrieved data:HOURLY
,DAILY
, orMONTHLY
.groupBy
(Collection<GroupDefinition> groupBy) Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.groupBy
(Consumer<GroupDefinition.Builder>... groupBy) Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.groupBy
(GroupDefinition... groupBy) Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.timeRange
(Consumer<DateTimeRange.Builder> timeRange) Sets the value of the TimeRange property for this object.timeRange
(DateTimeRange timeRange) Sets the value of the TimeRange property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timeRange
Sets the value of the TimeRange property for this object.- Parameters:
timeRange
- The new value for the TimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
Sets the value of the TimeRange property for this object. This is a convenience method that creates an instance of theDateTimeRange.Builder
avoiding the need to create one manually viaDateTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeRange(DateTimeRange)
.- Parameters:
timeRange
- a consumer that will call methods onDateTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupBy
Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.
- Parameters:
groupBy
- Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.
- Parameters:
groupBy
- Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
Specifies how to group the Reserved Instance utilization data, such as by service, Region, or instance type.
This is a convenience method that creates an instance of theGroupDefinition.Builder
avoiding the need to create one manually viaGroupDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupBy(List<GroupDefinition>)
.- Parameters:
groupBy
- a consumer that will call methods onGroupDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
The time granularity of the retrieved data:
HOURLY
,DAILY
, orMONTHLY
.- Parameters:
granularity
- The time granularity of the retrieved data:HOURLY
,DAILY
, orMONTHLY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
The time granularity of the retrieved data:
HOURLY
,DAILY
, orMONTHLY
.- Parameters:
granularity
- The time granularity of the retrieved data:HOURLY
,DAILY
, orMONTHLY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filter
Sets the value of the Filter property for this object.- Parameters:
filter
- The new value for the Filter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Sets the value of the Filter property for this object. This is a convenience method that creates an instance of theExpression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(Expression)
.- Parameters:
filter
- a consumer that will call methods onExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-