Interface RecoveryPlanStep.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryPlanStep.Builder,,RecoveryPlanStep> SdkBuilder<RecoveryPlanStep.Builder,,RecoveryPlanStep> SdkPojo
- Enclosing class:
RecoveryPlanStep
@Mutable
@NotThreadSafe
public static interface RecoveryPlanStep.Builder
extends SdkPojo, CopyableBuilder<RecoveryPlanStep.Builder,RecoveryPlanStep>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecoveryPlanStep.Builderconfiguration(Consumer<RecoveryPlanStepConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration(RecoveryPlanStepConfiguration configuration) Sets the value of the Configuration property for this object.The timestamp when the step was created.recoveryPlanStepArn(String recoveryPlanStepArn) The ARN of the Recovery Plan step.Sets the value of the StepName property for this object.Sets the value of the StepOrder property for this object.The timestamp when the 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
-
recoveryPlanStepArn
The ARN of the Recovery Plan step.
- Parameters:
recoveryPlanStepArn- The ARN of the Recovery Plan step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepOrder
Sets the value of the StepOrder property for this object.- Parameters:
stepOrder- The new value for the StepOrder property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 RecoveryPlanStep.Builder configuration(Consumer<RecoveryPlanStepConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theRecoveryPlanStepConfiguration.Builderavoiding the need to create one manually viaRecoveryPlanStepConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RecoveryPlanStepConfiguration).- Parameters:
configuration- a consumer that will call methods onRecoveryPlanStepConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the step was created.
- Parameters:
createdAt- The timestamp when the step was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the step was last updated.
- Parameters:
updatedAt- The timestamp when the step was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-