Interface CreateRecoveryPlanStepRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRecoveryPlanStepRequest.Builder,,CreateRecoveryPlanStepRequest> DrsRequest.Builder,SdkBuilder<CreateRecoveryPlanStepRequest.Builder,,CreateRecoveryPlanStepRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRecoveryPlanStepRequest
@Mutable
@NotThreadSafe
public static interface CreateRecoveryPlanStepRequest.Builder
extends DrsRequest.Builder, SdkPojo, CopyableBuilder<CreateRecoveryPlanStepRequest.Builder,CreateRecoveryPlanStepRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique string provided to ensure request idempotency.configuration(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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recoveryPlanArn(String recoveryPlanArn) The ARN of the Recovery Plan to add the step to.Sets the value of the StepName property for this object.Sets the value of the StepOrder property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.drs.model.DrsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
recoveryPlanArn
The ARN of the Recovery Plan to add the step to.
- Parameters:
recoveryPlanArn- The ARN of the Recovery Plan to add the step to.- 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.
-
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.
-
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 CreateRecoveryPlanStepRequest.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:
-
clientToken
A unique string provided to ensure request idempotency.
- Parameters:
clientToken- A unique string provided to ensure request idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRecoveryPlanStepRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRecoveryPlanStepRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-