Interface SavingsPlansUtilizationQuery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansUtilizationQuery.Builder,
,SavingsPlansUtilizationQuery> SdkBuilder<SavingsPlansUtilizationQuery.Builder,
,SavingsPlansUtilizationQuery> SdkPojo
- Enclosing class:
SavingsPlansUtilizationQuery
@Mutable
@NotThreadSafe
public static interface SavingsPlansUtilizationQuery.Builder
extends SdkPojo, CopyableBuilder<SavingsPlansUtilizationQuery.Builder,SavingsPlansUtilizationQuery>
-
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, or MONTHLY.granularity
(Granularity granularity) The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.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:
-
granularity
The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.
- Parameters:
granularity
- The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.- 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, or MONTHLY.
- Parameters:
granularity
- The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.- 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:
-