Interface AutoRetryConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoRetryConfig.Builder,,AutoRetryConfig> SdkBuilder<AutoRetryConfig.Builder,,AutoRetryConfig> SdkPojo
- Enclosing class:
AutoRetryConfig
@Mutable
@NotThreadSafe
public static interface AutoRetryConfig.Builder
extends SdkPojo, CopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>
-
Method Summary
Modifier and TypeMethodDescriptionautoRetryLimit(Integer autoRetryLimit) The maximum number of additional automatic retries after a failed build.autoRetryNumber(Integer autoRetryNumber) The number of times that the build has been retried.nextAutoRetry(String nextAutoRetry) The build ARN of the auto-retried build triggered by the current build.previousAutoRetry(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.
-