Interface GetCatalogResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCatalogResponse.Builder,GetCatalogResponse>,GlueResponse.Builder,SdkBuilder<GetCatalogResponse.Builder,GetCatalogResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCatalogResponse
public static interface GetCatalogResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetCatalogResponse.Builder,GetCatalogResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetCatalogResponse.Buildercatalog(Consumer<Catalog.Builder> catalog)ACatalogobject.GetCatalogResponse.Buildercatalog(Catalog catalog)ACatalogobject.-
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 Detail
-
catalog
GetCatalogResponse.Builder catalog(Catalog 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
default GetCatalogResponse.Builder catalog(Consumer<Catalog.Builder> 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:
catalog(Catalog)
-
-