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