Interface UpdateRecoveryPlanStepRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRecoveryPlanStepRequest.Builder,,UpdateRecoveryPlanStepRequest> DrsRequest.Builder,SdkBuilder<UpdateRecoveryPlanStepRequest.Builder,,UpdateRecoveryPlanStepRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRecoveryPlanStepRequest
@Mutable
@NotThreadSafe
public static interface UpdateRecoveryPlanStepRequest.Builder
extends DrsRequest.Builder, SdkPojo, CopyableBuilder<UpdateRecoveryPlanStepRequest.Builder,UpdateRecoveryPlanStepRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(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.recoveryPlanStepArn(String recoveryPlanStepArn) The ARN of the Recovery Plan step to update.Sets the value of the StepName 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
-
recoveryPlanStepArn
The ARN of the Recovery Plan step to update.
- Parameters:
recoveryPlanStepArn- The ARN of the Recovery Plan step to update.- 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 UpdateRecoveryPlanStepRequest.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:
-
overrideConfiguration
UpdateRecoveryPlanStepRequest.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
UpdateRecoveryPlanStepRequest.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.
-