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.Buildercatalog(Consumer<Catalog.Builder> catalog) ACatalogobject.ACatalogobject.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
catalog
A
Catalogobject. The definition of the specified catalog in the Glue Data Catalog.- Parameters:
catalog- ACatalogobject. 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 theCatalogobject. The definition of the specified catalog in the Glue Data Catalog.Catalog.Builderavoiding the need to create one manually viaCatalog.builder().When the
Consumercompletes,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:
-