Interface ListRestoreTestingPlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<ListRestoreTestingPlansResponse.Builder,
,ListRestoreTestingPlansResponse> SdkBuilder<ListRestoreTestingPlansResponse.Builder,
,ListRestoreTestingPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRestoreTestingPlansResponse
public static interface ListRestoreTestingPlansResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListRestoreTestingPlansResponse.Builder,ListRestoreTestingPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned items.restoreTestingPlans
(Collection<RestoreTestingPlanForList> restoreTestingPlans) This is a returned list of restore testing plans.restoreTestingPlans
(Consumer<RestoreTestingPlanForList.Builder>... restoreTestingPlans) This is a returned list of restore testing plans.restoreTestingPlans
(RestoreTestingPlanForList... restoreTestingPlans) This is a returned list of restore testing plans.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the nexttoken.- Parameters:
nextToken
- The next item following a partial list of returned items. For example, if a request is made to returnMaxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the nexttoken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlans
ListRestoreTestingPlansResponse.Builder restoreTestingPlans(Collection<RestoreTestingPlanForList> restoreTestingPlans) This is a returned list of restore testing plans.
- Parameters:
restoreTestingPlans
- This is a returned list of restore testing plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlans
ListRestoreTestingPlansResponse.Builder restoreTestingPlans(RestoreTestingPlanForList... restoreTestingPlans) This is a returned list of restore testing plans.
- Parameters:
restoreTestingPlans
- This is a returned list of restore testing plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlans
ListRestoreTestingPlansResponse.Builder restoreTestingPlans(Consumer<RestoreTestingPlanForList.Builder>... restoreTestingPlans) This is a returned list of restore testing plans.
This is a convenience method that creates an instance of theRestoreTestingPlanForList.Builder
avoiding the need to create one manually viaRestoreTestingPlanForList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestoreTestingPlans(List<RestoreTestingPlanForList>)
.- Parameters:
restoreTestingPlans
- a consumer that will call methods onRestoreTestingPlanForList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-