public static interface GetDatabaseResponse.Builder extends GlueResponse.Builder, CopyableBuilder<GetDatabaseResponse.Builder,GetDatabaseResponse>
Modifier and Type | Method and Description |
---|---|
default GetDatabaseResponse.Builder |
database(Consumer<Database.Builder> database)
The definition of the specified database in the catalog.
|
GetDatabaseResponse.Builder |
database(Database database)
The definition of the specified database in the catalog.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDatabaseResponse.Builder database(Database database)
The definition of the specified database in the catalog.
database
- The definition of the specified database in the catalog.default GetDatabaseResponse.Builder database(Consumer<Database.Builder> database)
The definition of the specified database in the catalog.
This is a convenience that creates an instance of theDatabase.Builder
avoiding the need to create
one manually via Database.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to database(Database)
.database
- a consumer that will call methods on Database.Builder
database(Database)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.