Interface Step.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Step.Builder,
,Step> SdkBuilder<Step.Builder,
,Step> SdkPojo
- Enclosing class:
Step
@Mutable
@NotThreadSafe
public static interface Step.Builder
extends SdkPojo, CopyableBuilder<Step.Builder,Step>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Step.Builder
expiry
(Consumer<Expiry.Builder> expiry) An object to specify the expiration of a routing step.An object to specify the expiration of a routing step.default Step.Builder
expression
(Consumer<Expression.Builder> expression) A tagged union to specify expression for a routing step.expression
(Expression expression) A tagged union to specify expression for a routing step.Represents status of the Routing step.status
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
An object to specify the expiration of a routing step.
This is a convenience method that creates an instance of theExpiry.Builder
avoiding the need to create one manually viaExpiry.builder()
.When the
Consumer
completes,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:
-
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
A tagged union to specify expression for a routing step.
This is a convenience method that creates an instance of theExpression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-