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.BuilderandExpression(Collection<Expression> andExpression)List of routing expressions which will be AND-ed together.Expression.BuilderandExpression(Consumer<Expression.Builder>... andExpression)List of routing expressions which will be AND-ed together.Expression.BuilderandExpression(Expression... andExpression)List of routing expressions which will be AND-ed together.default Expression.BuilderattributeCondition(Consumer<AttributeCondition.Builder> attributeCondition)An object to specify the predefined attribute condition.Expression.BuilderattributeCondition(AttributeCondition attributeCondition)An object to specify the predefined attribute condition.Expression.BuilderorExpression(Collection<Expression> orExpression)List of routing expressions which will be OR-ed together.Expression.BuilderorExpression(Consumer<Expression.Builder>... orExpression)List of routing expressions which will be OR-ed together.Expression.BuilderorExpression(Expression... orExpression)List of routing expressions which will be OR-ed together.-
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 Detail
-
attributeCondition
Expression.Builder attributeCondition(AttributeCondition attributeCondition)
An object to specify the predefined attribute condition.
- Parameters:
attributeCondition- An object to specify the predefined attribute condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeCondition
default Expression.Builder attributeCondition(Consumer<AttributeCondition.Builder> attributeCondition)
An object to specify the predefined attribute condition.
This is a convenience method that creates an instance of theAttributeCondition.Builderavoiding the need to create one manually viaAttributeCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeCondition(AttributeCondition).- Parameters:
attributeCondition- a consumer that will call methods onAttributeCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attributeCondition(AttributeCondition)
-
andExpression
Expression.Builder andExpression(Collection<Expression> andExpression)
List of routing expressions which will be AND-ed together.
- Parameters:
andExpression- List of routing expressions which will be AND-ed together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andExpression
Expression.Builder andExpression(Expression... andExpression)
List of routing expressions which will be AND-ed together.
- Parameters:
andExpression- List of routing expressions which will be AND-ed together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andExpression
Expression.Builder andExpression(Consumer<Expression.Builder>... andExpression)
List of routing expressions which will be AND-ed together.
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#andExpression(List.) - Parameters:
andExpression- 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:
#andExpression(java.util.Collection)
-
orExpression
Expression.Builder orExpression(Collection<Expression> orExpression)
List of routing expressions which will be OR-ed together.
- Parameters:
orExpression- List of routing expressions which will be OR-ed together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orExpression
Expression.Builder orExpression(Expression... orExpression)
List of routing expressions which will be OR-ed together.
- Parameters:
orExpression- List of routing expressions which will be OR-ed together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orExpression
Expression.Builder orExpression(Consumer<Expression.Builder>... orExpression)
List of routing expressions which will be OR-ed together.
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#orExpression(List.) - Parameters:
orExpression- 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:
#orExpression(java.util.Collection)
-
-