Interface UpdateRecoveryPlanExecutionStepRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRecoveryPlanExecutionStepRequest.Builder,,UpdateRecoveryPlanExecutionStepRequest> DrsRequest.Builder,SdkBuilder<UpdateRecoveryPlanExecutionStepRequest.Builder,,UpdateRecoveryPlanExecutionStepRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRecoveryPlanExecutionStepRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recoveryPlanExecutionStepArn(String recoveryPlanExecutionStepArn) The ARN of the execution step to update.servers(Collection<RecoveryPlanServer> servers) Full replacement of the server list.servers(Consumer<RecoveryPlanServer.Builder>... servers) Full replacement of the server list.servers(RecoveryPlanServer... servers) Full replacement of the server list.Only SKIPPED is accepted.Only SKIPPED is accepted.waitDurationMinutes(Integer waitDurationMinutes) Updated wait duration.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
-
recoveryPlanExecutionStepArn
UpdateRecoveryPlanExecutionStepRequest.Builder recoveryPlanExecutionStepArn(String recoveryPlanExecutionStepArn) The ARN of the execution step to update.
- Parameters:
recoveryPlanExecutionStepArn- The ARN of the execution step to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.
- Parameters:
status- Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.
- Parameters:
status- Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
servers
Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
- Parameters:
servers- Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servers
Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
- Parameters:
servers- Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servers
UpdateRecoveryPlanExecutionStepRequest.Builder servers(Consumer<RecoveryPlanServer.Builder>... servers) Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
This is a convenience method that creates an instance of theRecoveryPlanServer.Builderavoiding the need to create one manually viaRecoveryPlanServer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservers(List<RecoveryPlanServer>).- Parameters:
servers- a consumer that will call methods onRecoveryPlanServer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waitDurationMinutes
Updated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).
- Parameters:
waitDurationMinutes- Updated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRecoveryPlanExecutionStepRequest.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
UpdateRecoveryPlanExecutionStepRequest.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.
-