Class GetCatalogsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.glue.model.GlueRequest
-
- software.amazon.awssdk.services.glue.model.GetCatalogsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCatalogsRequest.Builder,GetCatalogsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetCatalogsRequest extends GlueRequest implements ToCopyableBuilder<GetCatalogsRequest.Builder,GetCatalogsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCatalogsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCatalogsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeRoot()Whether to list the default catalog in the account and region in the response.IntegermaxResults()The maximum number of catalogs to return in one response.StringnextToken()A continuation token, if this is a continuation call.StringparentCatalogId()The ID of the parent catalog in which the catalog resides.Booleanrecursive()Whether to list all catalogs across the catalog hierarchy, starting from theParentCatalogId.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetCatalogsRequest.Builder>serializableBuilderClass()GetCatalogsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
parentCatalogId
public final String 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:
- 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.
-
nextToken
public final String nextToken()
A continuation token, if this is a continuation call.
- Returns:
- A continuation token, if this is a continuation call.
-
maxResults
public final Integer maxResults()
The maximum number of catalogs to return in one response.
- Returns:
- The maximum number of catalogs to return in one response.
-
recursive
public final Boolean 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.- Returns:
- 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.
-
includeRoot
public final Boolean 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.- Returns:
- 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.
-
toBuilder
public GetCatalogsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCatalogsRequest.Builder,GetCatalogsRequest>- Specified by:
toBuilderin classGlueRequest
-
builder
public static GetCatalogsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCatalogsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-