Class AutoRetryConfig
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.AutoRetryConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>
@Generated("software.amazon.awssdk:codegen") public final class AutoRetryConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>
Information about the auto-retry configuration for the build.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoRetryConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerautoRetryLimit()The maximum number of additional automatic retries after a failed build.IntegerautoRetryNumber()The number of times that the build has been retried.static AutoRetryConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnextAutoRetry()The build ARN of the auto-retried build triggered by the current build.StringpreviousAutoRetry()The build ARN of the build that triggered the current auto-retry build.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutoRetryConfig.Builder>serializableBuilderClass()AutoRetryConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
autoRetryLimit
public final 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.- Returns:
- 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.
-
autoRetryNumber
public final Integer autoRetryNumber()
The number of times that the build has been retried. The initial build will have an auto-retry number of 0.
- Returns:
- The number of times that the build has been retried. The initial build will have an auto-retry number of 0.
-
nextAutoRetry
public final 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.- Returns:
- 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.
-
previousAutoRetry
public final 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.- Returns:
- The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will be
nullfor the initial build.
-
toBuilder
public AutoRetryConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoRetryConfig.Builder,AutoRetryConfig>
-
builder
public static AutoRetryConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoRetryConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-