Interface Expression.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Expression.Builder,Expression>,SdkBuilder<Expression.Builder,Expression>,SdkPojo
- Enclosing class:
- Expression
public static interface Expression.Builder extends SdkPojo, CopyableBuilder<Expression.Builder,Expression>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Expression.Builderand(Collection<Expression> and)A list of expressions to be combined with AND logic.Expression.Builderand(Consumer<Expression.Builder>... and)A list of expressions to be combined with AND logic.Expression.Builderand(Expression... and)A list of expressions to be combined with AND logic.default Expression.BuildercostCategories(Consumer<ExpressionFilter.Builder> costCategories)Filters based on cost categories.Expression.BuildercostCategories(ExpressionFilter costCategories)Filters based on cost categories.default Expression.Builderdimensions(Consumer<ExpressionFilter.Builder> dimensions)Filters based on dimensions (e.g., service, operation).Expression.Builderdimensions(ExpressionFilter dimensions)Filters based on dimensions (e.g., service, operation).default Expression.Buildernot(Consumer<Expression.Builder> not)An expression to be negated.Expression.Buildernot(Expression not)An expression to be negated.Expression.Builderor(Collection<Expression> or)A list of expressions to be combined with OR logic.Expression.Builderor(Consumer<Expression.Builder>... or)A list of expressions to be combined with OR logic.Expression.Builderor(Expression... or)A list of expressions to be combined with OR logic.default Expression.Buildertags(Consumer<ExpressionFilter.Builder> tags)Filters based on resource tags.Expression.Buildertags(ExpressionFilter tags)Filters based on resource tags.-
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
-
and
Expression.Builder and(Collection<Expression> and)
A list of expressions to be combined with AND logic.
- Parameters:
and- A list of expressions to be combined with AND logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
Expression.Builder and(Expression... and)
A list of expressions to be combined with AND logic.
- Parameters:
and- A list of expressions to be combined with AND logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
Expression.Builder and(Consumer<Expression.Builder>... and)
A list of expressions to be combined 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 to#and(List.) - 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:
#and(java.util.Collection)
-
or
Expression.Builder or(Collection<Expression> or)
A list of expressions to be combined with OR logic.
- Parameters:
or- A list of expressions to be combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
Expression.Builder or(Expression... or)
A list of expressions to be combined with OR logic.
- Parameters:
or- A list of expressions to be combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
Expression.Builder or(Consumer<Expression.Builder>... or)
A list of expressions to be combined 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 to#or(List.) - 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:
#or(java.util.Collection)
-
not
Expression.Builder not(Expression not)
An expression to be negated.
- Parameters:
not- An expression to be negated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
not
default Expression.Builder not(Consumer<Expression.Builder> not)
An expression to be negated.
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:
not(Expression)
-
costCategories
Expression.Builder costCategories(ExpressionFilter costCategories)
Filters based on cost categories.
- Parameters:
costCategories- Filters based on cost categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategories
default Expression.Builder costCategories(Consumer<ExpressionFilter.Builder> costCategories)
Filters based on cost categories.
This is a convenience method that creates an instance of theExpressionFilter.Builderavoiding the need to create one manually viaExpressionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostCategories(ExpressionFilter).- Parameters:
costCategories- a consumer that will call methods onExpressionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
costCategories(ExpressionFilter)
-
dimensions
Expression.Builder dimensions(ExpressionFilter dimensions)
Filters based on dimensions (e.g., service, operation).
- Parameters:
dimensions- Filters based on dimensions (e.g., service, operation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
default Expression.Builder dimensions(Consumer<ExpressionFilter.Builder> dimensions)
Filters based on dimensions (e.g., service, operation).
This is a convenience method that creates an instance of theExpressionFilter.Builderavoiding the need to create one manually viaExpressionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(ExpressionFilter).- Parameters:
dimensions- a consumer that will call methods onExpressionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dimensions(ExpressionFilter)
-
tags
Expression.Builder tags(ExpressionFilter tags)
Filters based on resource tags.
- Parameters:
tags- Filters based on resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
default Expression.Builder tags(Consumer<ExpressionFilter.Builder> tags)
Filters based on resource tags.
This is a convenience method that creates an instance of theExpressionFilter.Builderavoiding the need to create one manually viaExpressionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(ExpressionFilter).- Parameters:
tags- a consumer that will call methods onExpressionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tags(ExpressionFilter)
-
-