Class ListDatabasesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListDatabasesRequest extends AthenaRequest implements ToCopyableBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>
  • Method Details

    • catalogName

      public final String catalogName()

      The name of the data catalog that contains the databases to return.

      Returns:
      The name of the data catalog that contains the databases to return.
    • nextToken

      public final 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.

      Returns:
      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.
    • maxResults

      public final Integer maxResults()

      Specifies the maximum number of results to return.

      Returns:
      Specifies the maximum number of results to return.
    • workGroup

      public final String workGroup()

      The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.

      Returns:
      The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.
    • toBuilder

      public ListDatabasesRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>
      Specified by:
      toBuilder in class AthenaRequest
    • builder

      public static ListDatabasesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListDatabasesRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo