Interface GetDatabaseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDatabaseResponse.Builder,,GetDatabaseResponse> GlueResponse.Builder,SdkBuilder<GetDatabaseResponse.Builder,,GetDatabaseResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDatabaseResponse
public static interface GetDatabaseResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetDatabaseResponse.Builder,GetDatabaseResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDatabaseResponse.Builderdatabase(Consumer<Database.Builder> database) The definition of the specified database in the Data Catalog.The definition of the specified database in the Data Catalog.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
-
database
The definition of the specified database in the Data Catalog.
- Parameters:
database- The definition of the specified database in the Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The definition of the specified database in the Data Catalog.
This is a convenience method that creates an instance of theDatabase.Builderavoiding the need to create one manually viaDatabase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabase(Database).- Parameters:
database- 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:
-