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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 theParentCatalogIDhierarchy 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 theParentCatalogIDhierarchy 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. WhentrueandParentCatalogId = NULL | Amazon Web Services Account ID, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogIdis not equal to null, and this attribute is passed asfalseortrue, anInvalidInputExceptionis thrown.- Parameters:
includeRoot- Whether to list the default catalog in the account and region in the response. Defaults tofalse. WhentrueandParentCatalogId = NULL | Amazon Web Services Account ID, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogIdis not equal to null, and this attribute is passed asfalseortrue, anInvalidInputExceptionis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-