Interface GetCatalogResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCatalogResponse.Builder,
,GetCatalogResponse> GlueResponse.Builder
,SdkBuilder<GetCatalogResponse.Builder,
,GetCatalogResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCatalogResponse
@Mutable
@NotThreadSafe
public static interface GetCatalogResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetCatalogResponse.Builder,GetCatalogResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetCatalogResponse.Builder
catalog
(Consumer<Catalog.Builder> catalog) ACatalog
object.ACatalog
object.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
catalog
A
Catalog
object. The definition of the specified catalog in the Glue Data Catalog.- Parameters:
catalog
- ACatalog
object. The definition of the specified catalog in the Glue Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
A
This is a convenience method that creates an instance of theCatalog
object. The definition of the specified catalog in the Glue Data Catalog.Catalog.Builder
avoiding the need to create one manually viaCatalog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocatalog(Catalog)
.- Parameters:
catalog
- a consumer that will call methods onCatalog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-