Class RetryStageMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.RetryStageMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetryStageMetadata.Builder,RetryStageMetadata>
@Generated("software.amazon.awssdk:codegen") public final class RetryStageMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryStageMetadata.Builder,RetryStageMetadata>
The details of a specific automatic retry on stage failure, including the attempt number and trigger.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetryStageMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerautoStageRetryAttempt()The number of attempts for a specific stage with automatic retry on stage failure.static RetryStageMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RetryTriggerlatestRetryTrigger()The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.StringlatestRetryTriggerAsString()The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.IntegermanualStageRetryAttempt()The number of attempts for a specific stage where manual retries have been made upon stage failure.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RetryStageMetadata.Builder>serializableBuilderClass()RetryStageMetadata.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
-
autoStageRetryAttempt
public final Integer autoStageRetryAttempt()
The number of attempts for a specific stage with automatic retry on stage failure. One attempt is allowed for automatic stage retry on failure.
- Returns:
- The number of attempts for a specific stage with automatic retry on stage failure. One attempt is allowed for automatic stage retry on failure.
-
manualStageRetryAttempt
public final Integer manualStageRetryAttempt()
The number of attempts for a specific stage where manual retries have been made upon stage failure.
- Returns:
- The number of attempts for a specific stage where manual retries have been made upon stage failure.
-
latestRetryTrigger
public final RetryTrigger latestRetryTrigger()
The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.
If the service returns an enum value that is not available in the current SDK version,
latestRetryTriggerwill returnRetryTrigger.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestRetryTriggerAsString().- Returns:
- The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.
- See Also:
RetryTrigger
-
latestRetryTriggerAsString
public final String latestRetryTriggerAsString()
The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.
If the service returns an enum value that is not available in the current SDK version,
latestRetryTriggerwill returnRetryTrigger.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestRetryTriggerAsString().- Returns:
- The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.
- See Also:
RetryTrigger
-
toBuilder
public RetryStageMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryStageMetadata.Builder,RetryStageMetadata>
-
builder
public static RetryStageMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetryStageMetadata.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
-
-