Interface GetDataCatalogResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataCatalogResponse.Builder,
,GetDataCatalogResponse> SdkBuilder<GetDataCatalogResponse.Builder,
,GetDataCatalogResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataCatalogResponse
public static interface GetDataCatalogResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetDataCatalogResponse.Builder,GetDataCatalogResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDataCatalogResponse.Builder
dataCatalog
(Consumer<DataCatalog.Builder> dataCatalog) The data catalog returned.dataCatalog
(DataCatalog dataCatalog) The data catalog returned.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dataCatalog
The data catalog returned.
- Parameters:
dataCatalog
- The data catalog returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalog
The data catalog returned.
This is a convenience method that creates an instance of theDataCatalog.Builder
avoiding the need to create one manually viaDataCatalog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCatalog(DataCatalog)
.- Parameters:
dataCatalog
- a consumer that will call methods onDataCatalog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-