Interface FailureConditions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailureConditions.Builder,
,FailureConditions> SdkBuilder<FailureConditions.Builder,
,FailureConditions> SdkPojo
- Enclosing class:
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.default FailureConditions.Builder
retryConfiguration
(Consumer<RetryConfiguration.Builder> retryConfiguration) The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.retryConfiguration
(RetryConfiguration retryConfiguration) The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.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:
-
retryConfiguration
The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
- Parameters:
retryConfiguration
- The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryConfiguration
default FailureConditions.Builder retryConfiguration(Consumer<RetryConfiguration.Builder> retryConfiguration) The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
This is a convenience method that creates an instance of theRetryConfiguration.Builder
avoiding the need to create one manually viaRetryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryConfiguration(RetryConfiguration)
.- Parameters:
retryConfiguration
- a consumer that will call methods onRetryConfiguration.Builder
- 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:
-