Interface UpdateRecoveryPlanExecutionStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateRecoveryPlanExecutionStepResponse.Builder,,UpdateRecoveryPlanExecutionStepResponse> DrsResponse.Builder,SdkBuilder<UpdateRecoveryPlanExecutionStepResponse.Builder,,UpdateRecoveryPlanExecutionStepResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateRecoveryPlanExecutionStepResponse
@Mutable
@NotThreadSafe
public static interface UpdateRecoveryPlanExecutionStepResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<UpdateRecoveryPlanExecutionStepResponse.Builder,UpdateRecoveryPlanExecutionStepResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrecoveryPlanExecutionStep(Consumer<RecoveryPlanExecutionStep.Builder> recoveryPlanExecutionStep) Sets the value of the RecoveryPlanExecutionStep property for this object.recoveryPlanExecutionStep(RecoveryPlanExecutionStep recoveryPlanExecutionStep) Sets the value of the RecoveryPlanExecutionStep property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
recoveryPlanExecutionStep
UpdateRecoveryPlanExecutionStepResponse.Builder recoveryPlanExecutionStep(RecoveryPlanExecutionStep recoveryPlanExecutionStep) Sets the value of the RecoveryPlanExecutionStep property for this object.- Parameters:
recoveryPlanExecutionStep- The new value for the RecoveryPlanExecutionStep property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPlanExecutionStep
default UpdateRecoveryPlanExecutionStepResponse.Builder recoveryPlanExecutionStep(Consumer<RecoveryPlanExecutionStep.Builder> recoveryPlanExecutionStep) Sets the value of the RecoveryPlanExecutionStep property for this object. This is a convenience method that creates an instance of theRecoveryPlanExecutionStep.Builderavoiding the need to create one manually viaRecoveryPlanExecutionStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPlanExecutionStep(RecoveryPlanExecutionStep).- Parameters:
recoveryPlanExecutionStep- a consumer that will call methods onRecoveryPlanExecutionStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-