Interface Expression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Expression.Builder,
,Expression> SdkBuilder<Expression.Builder,
,Expression> SdkPojo
- Enclosing class:
Expression
-
Method Summary
Modifier and TypeMethodDescriptionand
(Collection<Expression> and) Return results that match bothDimension
objects.and
(Consumer<Expression.Builder>... and) Return results that match bothDimension
objects.and
(Expression... and) Return results that match bothDimension
objects.default Expression.Builder
costCategories
(Consumer<CostCategoryValues.Builder> costCategories) The filter that's based onCostCategory
values.costCategories
(CostCategoryValues costCategories) The filter that's based onCostCategory
values.default Expression.Builder
dimensions
(Consumer<DimensionValues.Builder> dimensions) The specificDimension
to use forExpression
.dimensions
(DimensionValues dimensions) The specificDimension
to use forExpression
.default Expression.Builder
not
(Consumer<Expression.Builder> not) Return results that don't match aDimension
object.not
(Expression not) Return results that don't match aDimension
object.or
(Collection<Expression> or) Return results that match eitherDimension
object.or
(Consumer<Expression.Builder>... or) Return results that match eitherDimension
object.or
(Expression... or) Return results that match eitherDimension
object.default Expression.Builder
tags
(Consumer<TagValues.Builder> tags) The specificTag
to use forExpression
.The specificTag
to use forExpression
.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, sdkFields
-
Method Details
-
or
Return results that match either
Dimension
object.- Parameters:
or
- Return results that match eitherDimension
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
Return results that match either
Dimension
object.- Parameters:
or
- Return results that match eitherDimension
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
Return results that match either
This is a convenience method that creates an instance of theDimension
object.Expression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toor(List<Expression>)
.- Parameters:
or
- 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:
-
and
Return results that match both
Dimension
objects.- Parameters:
and
- Return results that match bothDimension
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
Return results that match both
Dimension
objects.- Parameters:
and
- Return results that match bothDimension
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
Return results that match both
This is a convenience method that creates an instance of theDimension
objects.Expression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toand(List<Expression>)
.- Parameters:
and
- 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:
-
not
Return results that don't match a
Dimension
object.- Parameters:
not
- Return results that don't match aDimension
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
not
Return results that don't match a
This is a convenience method that creates an instance of theDimension
object.Expression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonot(Expression)
.- Parameters:
not
- 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:
-
dimensions
The specific
Dimension
to use forExpression
.- Parameters:
dimensions
- The specificDimension
to use forExpression
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The specific
This is a convenience method that creates an instance of theDimension
to use forExpression
.DimensionValues.Builder
avoiding the need to create one manually viaDimensionValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(DimensionValues)
.- Parameters:
dimensions
- a consumer that will call methods onDimensionValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The specific
Tag
to use forExpression
.- Parameters:
tags
- The specificTag
to use forExpression
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The specific
This is a convenience method that creates an instance of theTag
to use forExpression
.TagValues.Builder
avoiding the need to create one manually viaTagValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(TagValues)
.- Parameters:
tags
- a consumer that will call methods onTagValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCategories
The filter that's based on
CostCategory
values.- Parameters:
costCategories
- The filter that's based onCostCategory
values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategories
The filter that's based on
This is a convenience method that creates an instance of theCostCategory
values.CostCategoryValues.Builder
avoiding the need to create one manually viaCostCategoryValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostCategories(CostCategoryValues)
.- Parameters:
costCategories
- a consumer that will call methods onCostCategoryValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-