Interface GetCatalogsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetCatalogsRequest.Builder,
,GetCatalogsRequest> GlueRequest.Builder
,SdkBuilder<GetCatalogsRequest.Builder,
,GetCatalogsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetCatalogsRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludeRoot
(Boolean includeRoot) Whether to list the default catalog in the account and region in the response.maxResults
(Integer maxResults) The maximum number of catalogs to return in one response.A continuation token, if this is a continuation call.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentCatalogId
(String parentCatalogId) The ID of the parent catalog in which the catalog resides.Whether to list all catalogs across the catalog hierarchy, starting from theParentCatalogId
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
parentCatalogId
The ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.
- Parameters:
parentCatalogId
- The ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A continuation token, if this is a continuation call.
- Parameters:
nextToken
- A continuation token, if this is a continuation call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of catalogs to return in one response.
- Parameters:
maxResults
- The maximum number of catalogs to return in one response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recursive
Whether to list all catalogs across the catalog hierarchy, starting from the
ParentCatalogId
. Defaults tofalse
. Whentrue
, all catalog objects in theParentCatalogID
hierarchy are enumerated in the response.- Parameters:
recursive
- Whether to list all catalogs across the catalog hierarchy, starting from theParentCatalogId
. Defaults tofalse
. Whentrue
, all catalog objects in theParentCatalogID
hierarchy are enumerated in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeRoot
Whether to list the default catalog in the account and region in the response. Defaults to
false
. Whentrue
andParentCatalogId = NULL | Amazon Web Services Account ID
, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogId
is not equal to null, and this attribute is passed asfalse
ortrue
, anInvalidInputException
is thrown.- Parameters:
includeRoot
- Whether to list the default catalog in the account and region in the response. Defaults tofalse
. Whentrue
andParentCatalogId = NULL | Amazon Web Services Account ID
, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogId
is not equal to null, and this attribute is passed asfalse
ortrue
, anInvalidInputException
is thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCatalogsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCatalogsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-