Interface AutoRetryConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>,SdkBuilder<AutoRetryConfig.Builder,AutoRetryConfig>,SdkPojo
- Enclosing class:
- AutoRetryConfig
public static interface AutoRetryConfig.Builder extends SdkPojo, CopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoRetryConfig.BuilderautoRetryLimit(Integer autoRetryLimit)The maximum number of additional automatic retries after a failed build.AutoRetryConfig.BuilderautoRetryNumber(Integer autoRetryNumber)The number of times that the build has been retried.AutoRetryConfig.BuildernextAutoRetry(String nextAutoRetry)The build ARN of the auto-retried build triggered by the current build.AutoRetryConfig.BuilderpreviousAutoRetry(String previousAutoRetry)The build ARN of the build that triggered the current auto-retry build.-
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 Detail
-
autoRetryLimit
AutoRetryConfig.Builder autoRetryLimit(Integer autoRetryLimit)
The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the
RetryBuildAPI to automatically retry your build for up to 2 additional times.- Parameters:
autoRetryLimit- The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call theRetryBuildAPI to automatically retry your build for up to 2 additional times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRetryNumber
AutoRetryConfig.Builder autoRetryNumber(Integer autoRetryNumber)
The number of times that the build has been retried. The initial build will have an auto-retry number of 0.
- Parameters:
autoRetryNumber- The number of times that the build has been retried. The initial build will have an auto-retry number of 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextAutoRetry
AutoRetryConfig.Builder nextAutoRetry(String nextAutoRetry)
The build ARN of the auto-retried build triggered by the current build. The next auto-retry will be
nullfor builds that don't trigger an auto-retry.- Parameters:
nextAutoRetry- The build ARN of the auto-retried build triggered by the current build. The next auto-retry will benullfor builds that don't trigger an auto-retry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousAutoRetry
AutoRetryConfig.Builder previousAutoRetry(String previousAutoRetry)
The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will be
nullfor the initial build.- Parameters:
previousAutoRetry- The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will benullfor the initial build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-