Interface RecoveryPlanExecution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryPlanExecution.Builder,,RecoveryPlanExecution> SdkBuilder<RecoveryPlanExecution.Builder,,RecoveryPlanExecution> SdkPojo
- Enclosing class:
RecoveryPlanExecution
@Mutable
@NotThreadSafe
public static interface RecoveryPlanExecution.Builder
extends SdkPojo, CopyableBuilder<RecoveryPlanExecution.Builder,RecoveryPlanExecution>
-
Method Summary
Modifier and TypeMethodDescriptioncompletedAt(String completedAt) The timestamp when the execution completed.default RecoveryPlanExecution.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail) Error details if the execution failed.errorDetail(ErrorDetail errorDetail) Error details if the execution failed.The execution mode.The execution mode.recoveryPlanArn(String recoveryPlanArn) The ARN of the Recovery Plan being executed.recoveryPlanExecutionArn(String recoveryPlanExecutionArn) The ARN of the Recovery Plan execution.The timestamp when the execution started.The execution status.status(RecoveryPlanExecutionStatus status) The execution status.The tags associated with the Recovery Plan execution.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
-
recoveryPlanExecutionArn
The ARN of the Recovery Plan execution.
- Parameters:
recoveryPlanExecutionArn- The ARN of the Recovery Plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPlanArn
The ARN of the Recovery Plan being executed.
- Parameters:
recoveryPlanArn- The ARN of the Recovery Plan being executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The execution mode.
- Parameters:
mode- The execution mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The execution mode.
- Parameters:
mode- The execution mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The execution status.
- Parameters:
status- The execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The execution status.
- Parameters:
status- The execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The timestamp when the execution started.
- Parameters:
startedAt- The timestamp when the execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The timestamp when the execution completed.
- Parameters:
completedAt- The timestamp when the execution completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Error details if the execution failed.
- Parameters:
errorDetail- Error details if the execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Error details if the execution 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:
-
tags
The tags associated with the Recovery Plan execution.
- Parameters:
tags- The tags associated with the Recovery Plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-