Interface HistoricalUsageEntity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>,SdkBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>,SdkPojo
- Enclosing class:
- HistoricalUsageEntity
public static interface HistoricalUsageEntity.Builder extends SdkPojo, CopyableBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HistoricalUsageEntity.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval)The time interval for the historical usage data.HistoricalUsageEntity.BuilderbillInterval(BillInterval billInterval)The time interval for the historical usage data.default HistoricalUsageEntity.BuilderfilterExpression(Consumer<Expression.Builder> filterExpression)An optional filter expression to apply to the historical usage data.HistoricalUsageEntity.BuilderfilterExpression(Expression filterExpression)An optional filter expression to apply to the historical usage data.HistoricalUsageEntity.Builderlocation(String location)The location associated with the usage.HistoricalUsageEntity.Builderoperation(String operation)The specific operation associated with the usage.HistoricalUsageEntity.BuilderserviceCode(String serviceCode)The Amazon Web Services service code associated with the usage.HistoricalUsageEntity.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID associated with the usage.HistoricalUsageEntity.BuilderusageType(String usageType)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 Detail
-
serviceCode
HistoricalUsageEntity.Builder serviceCode(String 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
HistoricalUsageEntity.Builder usageType(String 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
HistoricalUsageEntity.Builder operation(String 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
HistoricalUsageEntity.Builder location(String 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
HistoricalUsageEntity.Builder usageAccountId(String 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
HistoricalUsageEntity.Builder billInterval(BillInterval 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
default HistoricalUsageEntity.Builder billInterval(Consumer<BillInterval.Builder> billInterval)
The time interval for the historical usage data.
This is a convenience method that creates an instance of theBillInterval.Builderavoiding the need to create one manually viaBillInterval.builder().When the
Consumercompletes,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:
billInterval(BillInterval)
-
filterExpression
HistoricalUsageEntity.Builder filterExpression(Expression 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.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,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:
filterExpression(Expression)
-
-