Interface HistoricalUsageEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HistoricalUsageEntity.Builder,
,HistoricalUsageEntity> SdkBuilder<HistoricalUsageEntity.Builder,
,HistoricalUsageEntity> SdkPojo
- Enclosing class:
HistoricalUsageEntity
-
Method Summary
Modifier and TypeMethodDescriptiondefault HistoricalUsageEntity.Builder
billInterval
(Consumer<BillInterval.Builder> billInterval) The time interval for the historical usage data.billInterval
(BillInterval billInterval) The time interval for the historical usage data.default HistoricalUsageEntity.Builder
filterExpression
(Consumer<Expression.Builder> filterExpression) An optional filter expression to apply to the historical usage data.filterExpression
(Expression filterExpression) An optional filter expression to apply to the historical usage data.The location associated with the usage.The specific operation associated with the usage.serviceCode
(String serviceCode) The Amazon Web Services service code associated with the usage.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with the usage.The type of usage.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
-
serviceCode
The Amazon Web Services service code associated with the usage.
- Parameters:
serviceCode
- The Amazon Web Services service code associated with the usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The type of usage.
- Parameters:
usageType
- The type of usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The specific operation associated with the usage.
- Parameters:
operation
- The specific operation associated with the usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location associated with the usage.
- Parameters:
location
- The location associated with the usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageAccountId
The Amazon Web Services account ID associated with the usage.
- Parameters:
usageAccountId
- The Amazon Web Services account ID associated with the usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
The time interval for the historical usage data.
- Parameters:
billInterval
- The time interval for the historical usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
The time interval for the historical usage data.
This is a convenience method that creates an instance of theBillInterval.Builder
avoiding the need to create one manually viaBillInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillInterval(BillInterval)
.- Parameters:
billInterval
- a consumer that will call methods onBillInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterExpression
An optional filter expression to apply to the historical usage data.
- Parameters:
filterExpression
- An optional filter expression to apply to the historical usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterExpression
default HistoricalUsageEntity.Builder filterExpression(Consumer<Expression.Builder> filterExpression) An optional filter expression to apply to the historical usage data.
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 tofilterExpression(Expression)
.- Parameters:
filterExpression
- 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:
-