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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDataCatalogResponse.BuilderdataCatalog(Consumer<DataCatalog.Builder> dataCatalog)The data catalog returned.GetDataCatalogResponse.BuilderdataCatalog(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataCatalog
GetDataCatalogResponse.Builder dataCatalog(DataCatalog 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
default GetDataCatalogResponse.Builder dataCatalog(Consumer<DataCatalog.Builder> dataCatalog)
The data catalog returned.
This is a convenience method that creates an instance of theDataCatalog.Builderavoiding the need to create one manually viaDataCatalog.builder().When the
Consumercompletes,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:
dataCatalog(DataCatalog)
-
-