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 ofDatabaseobjects from the specified catalog.databaseList(Consumer<Database.Builder>... databaseList) A list ofDatabaseobjects from the specified catalog.databaseList(Database... databaseList) A list ofDatabaseobjects 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
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
databaseList
A list of
Databaseobjects from the specified catalog.- Parameters:
databaseList- A list ofDatabaseobjects from the specified catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
A list of
Databaseobjects from the specified catalog.- Parameters:
databaseList- A list ofDatabaseobjects 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 theDatabaseobjects from the specified catalog.Database.Builderavoiding the need to create one manually viaDatabase.builder().When the
Consumercompletes,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.
-