Interface GetRecoveryPlanExecutionStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRecoveryPlanExecutionStepResponse.Builder,,GetRecoveryPlanExecutionStepResponse> DrsResponse.Builder,SdkBuilder<GetRecoveryPlanExecutionStepResponse.Builder,,GetRecoveryPlanExecutionStepResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRecoveryPlanExecutionStepResponse
@Mutable
@NotThreadSafe
public static interface GetRecoveryPlanExecutionStepResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<GetRecoveryPlanExecutionStepResponse.Builder,GetRecoveryPlanExecutionStepResponse>
-
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
GetRecoveryPlanExecutionStepResponse.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 GetRecoveryPlanExecutionStepResponse.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:
-