Interface GetRecoveryPlanExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRecoveryPlanExecutionResponse.Builder,,GetRecoveryPlanExecutionResponse> DrsResponse.Builder,SdkBuilder<GetRecoveryPlanExecutionResponse.Builder,,GetRecoveryPlanExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRecoveryPlanExecutionResponse
@Mutable
@NotThreadSafe
public static interface GetRecoveryPlanExecutionResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<GetRecoveryPlanExecutionResponse.Builder,GetRecoveryPlanExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrecoveryPlanExecution(Consumer<RecoveryPlanExecution.Builder> recoveryPlanExecution) The Recovery Plan execution details.recoveryPlanExecution(RecoveryPlanExecution recoveryPlanExecution) The Recovery Plan execution details.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
-
recoveryPlanExecution
GetRecoveryPlanExecutionResponse.Builder recoveryPlanExecution(RecoveryPlanExecution recoveryPlanExecution) The Recovery Plan execution details.
- Parameters:
recoveryPlanExecution- The Recovery Plan execution details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPlanExecution
default GetRecoveryPlanExecutionResponse.Builder recoveryPlanExecution(Consumer<RecoveryPlanExecution.Builder> recoveryPlanExecution) The Recovery Plan execution details.
This is a convenience method that creates an instance of theRecoveryPlanExecution.Builderavoiding the need to create one manually viaRecoveryPlanExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPlanExecution(RecoveryPlanExecution).- Parameters:
recoveryPlanExecution- a consumer that will call methods onRecoveryPlanExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-