Interface ListDataCatalogsResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDataCatalogsResponse.Builder,ListDataCatalogsResponse>,SdkBuilder<ListDataCatalogsResponse.Builder,ListDataCatalogsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataCatalogsResponse
public static interface ListDataCatalogsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListDataCatalogsResponse.Builder,ListDataCatalogsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataCatalogsResponse.BuilderdataCatalogsSummary(Collection<DataCatalogSummary> dataCatalogsSummary)A summary list of data catalogs.ListDataCatalogsResponse.BuilderdataCatalogsSummary(Consumer<DataCatalogSummary.Builder>... dataCatalogsSummary)A summary list of data catalogs.ListDataCatalogsResponse.BuilderdataCatalogsSummary(DataCatalogSummary... dataCatalogsSummary)A summary list of data catalogs.ListDataCatalogsResponse.BuildernextToken(String nextToken)A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.-
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
-
dataCatalogsSummary
ListDataCatalogsResponse.Builder dataCatalogsSummary(Collection<DataCatalogSummary> dataCatalogsSummary)
A summary list of data catalogs.
- Parameters:
dataCatalogsSummary- A summary list of data catalogs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalogsSummary
ListDataCatalogsResponse.Builder dataCatalogsSummary(DataCatalogSummary... dataCatalogsSummary)
A summary list of data catalogs.
- Parameters:
dataCatalogsSummary- A summary list of data catalogs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalogsSummary
ListDataCatalogsResponse.Builder dataCatalogsSummary(Consumer<DataCatalogSummary.Builder>... dataCatalogsSummary)
A summary list of data catalogs.
This is a convenience method that creates an instance of theDataCatalogSummary.Builderavoiding the need to create one manually viaDataCatalogSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataCatalogsSummary(List.) - Parameters:
dataCatalogsSummary- a consumer that will call methods onDataCatalogSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataCatalogsSummary(java.util.Collection)
-
nextToken
ListDataCatalogsResponse.Builder nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
- Parameters:
nextToken- A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-