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) A list of expressions to combine with AND logic.and
(Consumer<Expression.Builder>... and) A list of expressions to combine with AND logic.and
(Expression... and) A list of expressions to combine with AND logic.default Expression.Builder
costCategories
(Consumer<CostCategoryValues.Builder> costCategories) The cost category values to include in the filter expression.costCategories
(CostCategoryValues costCategories) The cost category values to include in the filter expression.default Expression.Builder
dimensions
(Consumer<DimensionValues.Builder> dimensions) The dimension values to include in the filter expression.dimensions
(DimensionValues dimensions) The dimension values to include in the filter expression.default Expression.Builder
not
(Consumer<Expression.Builder> not) An expression to negate with NOT logic.not
(Expression not) An expression to negate with NOT logic.or
(Collection<Expression> or) A list of expressions to combine with OR logic.or
(Consumer<Expression.Builder>... or) A list of expressions to combine with OR logic.or
(Expression... or) A list of expressions to combine with OR logic.default Expression.Builder
tags
(Consumer<TagValues.Builder> tags) The tag values to include in the filter expression.The tag values to include in the filter expression.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
-
or
A list of expressions to combine with OR logic.
- Parameters:
or
- A list of expressions to combine with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A list of expressions to combine with OR logic.
- Parameters:
or
- A list of expressions to combine with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A list of expressions to combine with OR logic.
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 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
A list of expressions to combine with AND logic.
- Parameters:
and
- A list of expressions to combine with AND logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A list of expressions to combine with AND logic.
- Parameters:
and
- A list of expressions to combine with AND logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A list of expressions to combine with AND logic.
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 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
An expression to negate with NOT logic.
- Parameters:
not
- An expression to negate with NOT logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
not
An expression to negate with NOT logic.
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 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 dimension values to include in the filter expression.
- Parameters:
dimensions
- The dimension values to include in the filter expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimension values to include in the filter expression.
This is a convenience method that creates an instance of theDimensionValues.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 tag values to include in the filter expression.
- Parameters:
tags
- The tag values to include in the filter expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag values to include in the filter expression.
This is a convenience method that creates an instance of theTagValues.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 cost category values to include in the filter expression.
- Parameters:
costCategories
- The cost category values to include in the filter expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategories
The cost category values to include in the filter expression.
This is a convenience method that creates an instance of theCostCategoryValues.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:
-