Interface FailureConditions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailureConditions.Builder,
,FailureConditions> SdkBuilder<FailureConditions.Builder,
,FailureConditions> SdkPojo
- Enclosing class:
FailureConditions
public static interface FailureConditions.Builder
extends SdkPojo, CopyableBuilder<FailureConditions.Builder,FailureConditions>
-
Method Summary
Modifier and TypeMethodDescriptionconditions
(Collection<Condition> conditions) The conditions that are configured as failure conditions.conditions
(Consumer<Condition.Builder>... conditions) The conditions that are configured as failure conditions.conditions
(Condition... conditions) The conditions that are configured as failure conditions.The specified result for when the failure conditions are met, such as rolling back the stage.The specified result for when the failure conditions are met, such as rolling back the stage.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 Details
-
result
The specified result for when the failure conditions are met, such as rolling back the stage.
- Parameters:
result
- The specified result for when the failure conditions are met, such as rolling back the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The specified result for when the failure conditions are met, such as rolling back the stage.
- Parameters:
result
- The specified result for when the failure conditions are met, such as rolling back the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
The conditions that are configured as failure conditions.
- Parameters:
conditions
- The conditions that are configured as failure conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that are configured as failure conditions.
- Parameters:
conditions
- The conditions that are configured as failure conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that are configured as failure conditions.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<Condition>)
.- Parameters:
conditions
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-