Class GetDatabaseRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.athena.model.AthenaRequest
software.amazon.awssdk.services.athena.model.GetDatabaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDatabaseRequest.Builder,GetDatabaseRequest>
@Generated("software.amazon.awssdk:codegen")
public final class GetDatabaseRequest
extends AthenaRequest
implements ToCopyableBuilder<GetDatabaseRequest.Builder,GetDatabaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GetDatabaseRequest.Builderbuilder()final StringThe name of the data catalog that contains the database to return.final StringThe name of the database to return.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends GetDatabaseRequest.Builder>final StringtoString()Returns a string representation of this object.final StringThe name of the workgroup for which the metadata is being fetched.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
catalogName
The name of the data catalog that contains the database to return.
- Returns:
- The name of the data catalog that contains the database to return.
-
databaseName
The name of the database to return.
- Returns:
- The name of the database to return.
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDatabaseRequest.Builder,GetDatabaseRequest> - Specified by:
toBuilderin classAthenaRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-