Interface Step.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Step.Builder,Step>,SdkBuilder<Step.Builder,Step>,SdkPojo
- Enclosing class:
- Step
public static interface Step.Builder extends SdkPojo, CopyableBuilder<Step.Builder,Step>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Step.Builderexpiry(Consumer<Expiry.Builder> expiry)An object to specify the expiration of a routing step.Step.Builderexpiry(Expiry expiry)An object to specify the expiration of a routing step.default Step.Builderexpression(Consumer<Expression.Builder> expression)A tagged union to specify expression for a routing step.Step.Builderexpression(Expression expression)A tagged union to specify expression for a routing step.Step.Builderstatus(String status)Represents status of the Routing step.Step.Builderstatus(RoutingCriteriaStepStatus status)Represents status of the Routing step.-
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
-
expiry
Step.Builder expiry(Expiry expiry)
An object to specify the expiration of a routing step.
- Parameters:
expiry- An object to specify the expiration of a routing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiry
default Step.Builder expiry(Consumer<Expiry.Builder> expiry)
An object to specify the expiration of a routing step.
This is a convenience method that creates an instance of theExpiry.Builderavoiding the need to create one manually viaExpiry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpiry(Expiry).- Parameters:
expiry- a consumer that will call methods onExpiry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
expiry(Expiry)
-
expression
Step.Builder expression(Expression expression)
A tagged union to specify expression for a routing step.
- Parameters:
expression- A tagged union to specify expression for a routing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
default Step.Builder expression(Consumer<Expression.Builder> expression)
A tagged union to specify expression for a routing step.
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 toexpression(Expression).- Parameters:
expression- 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:
expression(Expression)
-
status
Step.Builder status(String status)
Represents status of the Routing step.
- Parameters:
status- Represents status of the Routing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoutingCriteriaStepStatus,RoutingCriteriaStepStatus
-
status
Step.Builder status(RoutingCriteriaStepStatus status)
Represents status of the Routing step.
- Parameters:
status- Represents status of the Routing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoutingCriteriaStepStatus,RoutingCriteriaStepStatus
-
-