Interface ListRecoveryPlanExecutionStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecoveryPlanExecutionStepsResponse.Builder,,ListRecoveryPlanExecutionStepsResponse> DrsResponse.Builder,SdkBuilder<ListRecoveryPlanExecutionStepsResponse.Builder,,ListRecoveryPlanExecutionStepsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecoveryPlanExecutionStepsResponse
@Mutable
@NotThreadSafe
public static interface ListRecoveryPlanExecutionStepsResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<ListRecoveryPlanExecutionStepsResponse.Builder,ListRecoveryPlanExecutionStepsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next page of results.recoveryPlanExecutionSteps(Collection<RecoveryPlanExecutionStepSummary> recoveryPlanExecutionSteps) The list of execution steps.recoveryPlanExecutionSteps(Consumer<RecoveryPlanExecutionStepSummary.Builder>... recoveryPlanExecutionSteps) The list of execution steps.recoveryPlanExecutionSteps(RecoveryPlanExecutionStepSummary... recoveryPlanExecutionSteps) The list of execution steps.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
-
recoveryPlanExecutionSteps
ListRecoveryPlanExecutionStepsResponse.Builder recoveryPlanExecutionSteps(Collection<RecoveryPlanExecutionStepSummary> recoveryPlanExecutionSteps) The list of execution steps.
- Parameters:
recoveryPlanExecutionSteps- The list of execution steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPlanExecutionSteps
ListRecoveryPlanExecutionStepsResponse.Builder recoveryPlanExecutionSteps(RecoveryPlanExecutionStepSummary... recoveryPlanExecutionSteps) The list of execution steps.
- Parameters:
recoveryPlanExecutionSteps- The list of execution steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPlanExecutionSteps
ListRecoveryPlanExecutionStepsResponse.Builder recoveryPlanExecutionSteps(Consumer<RecoveryPlanExecutionStepSummary.Builder>... recoveryPlanExecutionSteps) The list of execution steps.
This is a convenience method that creates an instance of theRecoveryPlanExecutionStepSummary.Builderavoiding the need to create one manually viaRecoveryPlanExecutionStepSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPlanExecutionSteps(List<RecoveryPlanExecutionStepSummary>).- Parameters:
recoveryPlanExecutionSteps- a consumer that will call methods onRecoveryPlanExecutionStepSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-