@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDatabaseRequest() |
Modifier and Type | Method and Description |
---|---|
GetDatabaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog in which the database resides.
|
String |
getName()
The name of the database to retrieve.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
|
void |
setName(String name)
The name of the database to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetDatabaseRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
|
GetDatabaseRequest |
withName(String name)
The name of the database to retrieve.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services
account ID is used by default.public String getCatalogId()
The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.
public GetDatabaseRequest withCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services
account ID is used by default.public void setName(String name)
The name of the database to retrieve. For Hive compatibility, this should be all lowercase.
name
- The name of the database to retrieve. For Hive compatibility, this should be all lowercase.public String getName()
The name of the database to retrieve. For Hive compatibility, this should be all lowercase.
public GetDatabaseRequest withName(String name)
The name of the database to retrieve. For Hive compatibility, this should be all lowercase.
name
- The name of the database to retrieve. For Hive compatibility, this should be all lowercase.public String toString()
toString
in class Object
Object.toString()
public GetDatabaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()