Interface RecoveryPlanExecutionStep.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryPlanExecutionStep.Builder,,RecoveryPlanExecutionStep> SdkBuilder<RecoveryPlanExecutionStep.Builder,,RecoveryPlanExecutionStep> SdkPojo
- Enclosing class:
RecoveryPlanExecutionStep
@Mutable
@NotThreadSafe
public static interface RecoveryPlanExecutionStep.Builder
extends SdkPojo, CopyableBuilder<RecoveryPlanExecutionStep.Builder,RecoveryPlanExecutionStep>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of times this step has been attempted.configuration(Consumer<RecoveryPlanExecutionStepConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration(RecoveryPlanExecutionStepConfiguration configuration) Sets the value of the Configuration property for this object.The timestamp when the execution step was created.errorDetail(Consumer<ErrorDetail.Builder> errorDetail) Error details if the step failed.errorDetail(ErrorDetail errorDetail) Error details if the step failed.recoveryPlanExecutionStepArn(String recoveryPlanExecutionStepArn) The ARN of the execution step.The status of the execution step.The status of the execution step.Sets the value of the StepIndex property for this object.Sets the value of the StepName property for this object.The timestamp when the execution step was last updated.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
-
recoveryPlanExecutionStepArn
The ARN of the execution step.
- Parameters:
recoveryPlanExecutionStepArn- The ARN of the execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepIndex
Sets the value of the StepIndex property for this object.- Parameters:
stepIndex- The new value for the StepIndex property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the execution step.
- Parameters:
status- The status of the execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the execution step.
- Parameters:
status- The status of the execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepName
Sets the value of the StepName property for this object.- Parameters:
stepName- The new value for the StepName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
RecoveryPlanExecutionStep.Builder configuration(RecoveryPlanExecutionStepConfiguration configuration) Sets the value of the Configuration property for this object.- Parameters:
configuration- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default RecoveryPlanExecutionStep.Builder configuration(Consumer<RecoveryPlanExecutionStepConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theRecoveryPlanExecutionStepConfiguration.Builderavoiding the need to create one manually viaRecoveryPlanExecutionStepConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RecoveryPlanExecutionStepConfiguration).- Parameters:
configuration- a consumer that will call methods onRecoveryPlanExecutionStepConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetail
Error details if the step failed.
- Parameters:
errorDetail- Error details if the step failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Error details if the step failed.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetail(ErrorDetail).- Parameters:
errorDetail- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attempt
The number of times this step has been attempted.
- Parameters:
attempt- The number of times this step has been attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the execution step was created.
- Parameters:
createdAt- The timestamp when the execution step was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the execution step was last updated.
- Parameters:
updatedAt- The timestamp when the execution step was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-