Interface ListTableRestoreStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTableRestoreStatusResponse.Builder,,ListTableRestoreStatusResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListTableRestoreStatusResponse.Builder,,ListTableRestoreStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTableRestoreStatusResponse
public static interface ListTableRestoreStatusResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListTableRestoreStatusResponse.Builder,ListTableRestoreStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf your initialListTableRestoreStatusoperation returns anextToken, you can include the returnednextTokenin followingListTableRestoreStatusoperations.tableRestoreStatuses(Collection<TableRestoreStatus> tableRestoreStatuses) The array of returnedTableRestoreStatusobjects.tableRestoreStatuses(Consumer<TableRestoreStatus.Builder>... tableRestoreStatuses) The array of returnedTableRestoreStatusobjects.tableRestoreStatuses(TableRestoreStatus... tableRestoreStatuses) The array of returnedTableRestoreStatusobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If your initial
ListTableRestoreStatusoperation returns anextToken, you can include the returnednextTokenin followingListTableRestoreStatusoperations. This will returns results on the next page.- Parameters:
nextToken- If your initialListTableRestoreStatusoperation returns anextToken, you can include the returnednextTokenin followingListTableRestoreStatusoperations. This will returns results on the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableRestoreStatuses
ListTableRestoreStatusResponse.Builder tableRestoreStatuses(Collection<TableRestoreStatus> tableRestoreStatuses) The array of returned
TableRestoreStatusobjects.- Parameters:
tableRestoreStatuses- The array of returnedTableRestoreStatusobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableRestoreStatuses
ListTableRestoreStatusResponse.Builder tableRestoreStatuses(TableRestoreStatus... tableRestoreStatuses) The array of returned
TableRestoreStatusobjects.- Parameters:
tableRestoreStatuses- The array of returnedTableRestoreStatusobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableRestoreStatuses
ListTableRestoreStatusResponse.Builder tableRestoreStatuses(Consumer<TableRestoreStatus.Builder>... tableRestoreStatuses) The array of returned
This is a convenience method that creates an instance of theTableRestoreStatusobjects.TableRestoreStatus.Builderavoiding the need to create one manually viaTableRestoreStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totableRestoreStatuses(List<TableRestoreStatus>).- Parameters:
tableRestoreStatuses- a consumer that will call methods onTableRestoreStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-