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.BuildercostCategories(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.Builderdimensions(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.Buildernot(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.Buildertags(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDimensionValues.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTagValues.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCostCategoryValues.builder().When the
Consumercompletes,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:
-