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 be combined with AND logic.and(Consumer<Expression.Builder>... and) A list of expressions to be combined with AND logic.and(Expression... and) A list of expressions to be combined with AND logic.default Expression.BuildercostCategories(Consumer<ExpressionFilter.Builder> costCategories) Filters based on cost categories.costCategories(ExpressionFilter costCategories) Filters based on cost categories.default Expression.Builderdimensions(Consumer<ExpressionFilter.Builder> dimensions) Filters based on dimensions (e.g., service, operation).dimensions(ExpressionFilter dimensions) Filters based on dimensions (e.g., service, operation).default Expression.Buildernot(Consumer<Expression.Builder> not) An expression to be negated.not(Expression not) An expression to be negated.or(Collection<Expression> or) A list of expressions to be combined with OR logic.or(Consumer<Expression.Builder>... or) A list of expressions to be combined with OR logic.or(Expression... or) A list of expressions to be combined with OR logic.default Expression.Buildertags(Consumer<ExpressionFilter.Builder> tags) Filters based on resource tags.tags(ExpressionFilter tags) Filters based on resource tags.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
-
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
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
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 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:
-
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
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
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 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:
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-