Class RetryStageExecutionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest
-
- software.amazon.awssdk.services.codepipeline.model.RetryStageExecutionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RetryStageExecutionRequest.Builder,RetryStageExecutionRequest>
@Generated("software.amazon.awssdk:codegen") public final class RetryStageExecutionRequest extends CodePipelineRequest implements ToCopyableBuilder<RetryStageExecutionRequest.Builder,RetryStageExecutionRequest>
Represents the input of a
RetryStageExecutionaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetryStageExecutionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryStageExecutionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpipelineExecutionId()The ID of the pipeline execution in the failed stage to be retried.StringpipelineName()The name of the pipeline that contains the failed stage.StageRetryModeretryMode()The scope of the retry attempt.StringretryModeAsString()The scope of the retry attempt.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RetryStageExecutionRequest.Builder>serializableBuilderClass()StringstageName()The name of the failed stage to be retried.RetryStageExecutionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
pipelineName
public final String pipelineName()
The name of the pipeline that contains the failed stage.
- Returns:
- The name of the pipeline that contains the failed stage.
-
stageName
public final String stageName()
The name of the failed stage to be retried.
- Returns:
- The name of the failed stage to be retried.
-
pipelineExecutionId
public final String pipelineExecutionId()
The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage
- Returns:
- The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage
-
retryMode
public final StageRetryMode retryMode()
The scope of the retry attempt.
If the service returns an enum value that is not available in the current SDK version,
retryModewill returnStageRetryMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretryModeAsString().- Returns:
- The scope of the retry attempt.
- See Also:
StageRetryMode
-
retryModeAsString
public final String retryModeAsString()
The scope of the retry attempt.
If the service returns an enum value that is not available in the current SDK version,
retryModewill returnStageRetryMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretryModeAsString().- Returns:
- The scope of the retry attempt.
- See Also:
StageRetryMode
-
toBuilder
public RetryStageExecutionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryStageExecutionRequest.Builder,RetryStageExecutionRequest>- Specified by:
toBuilderin classCodePipelineRequest
-
builder
public static RetryStageExecutionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetryStageExecutionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-