@Generated(value="software.amazon.awssdk:codegen") public final class GetDatabaseRequest extends GlueRequest implements ToCopyableBuilder<GetDatabaseRequest.Builder,GetDatabaseRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetDatabaseRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetDatabaseRequest.Builder |
builder() |
String |
catalogId()
The ID of the Data Catalog in which the database resides.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the database to retrieve.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDatabaseRequest.Builder> |
serializableBuilderClass() |
GetDatabaseRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String catalogId()
The ID of the Data Catalog in which the database resides. If none is provided, the AWS account ID is used by default.
public String name()
The name of the database to retrieve. For Hive compatibility, this should be all lowercase.
public GetDatabaseRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetDatabaseRequest.Builder,GetDatabaseRequest>
toBuilder
in class GlueRequest
public static GetDatabaseRequest.Builder builder()
public static Class<? extends GetDatabaseRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.