Interface GetDatabasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDatabasesResponse.Builder,
,GetDatabasesResponse> GlueResponse.Builder
,SdkBuilder<GetDatabasesResponse.Builder,
,GetDatabasesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDatabasesResponse
public static interface GetDatabasesResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetDatabasesResponse.Builder,GetDatabasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseList
(Collection<Database> databaseList) A list ofDatabase
objects from the specified catalog.databaseList
(Consumer<Database.Builder>... databaseList) A list ofDatabase
objects from the specified catalog.databaseList
(Database... databaseList) A list ofDatabase
objects from the specified catalog.A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
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
-
databaseList
A list of
Database
objects from the specified catalog.- Parameters:
databaseList
- A list ofDatabase
objects from the specified catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
A list of
Database
objects from the specified catalog.- Parameters:
databaseList
- A list ofDatabase
objects from the specified catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
A list of
This is a convenience method that creates an instance of theDatabase
objects from the specified catalog.Database.Builder
avoiding the need to create one manually viaDatabase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabaseList(List<Database>)
.- Parameters:
databaseList
- a consumer that will call methods onDatabase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
- Parameters:
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-