@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() |
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; useful for testing and debugging.
|
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, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which the database resides. If none is supplied, the AWS account ID is used
by default.public String getCatalogId()
The ID of the Data Catalog in which the database resides. If none is supplied, the AWS 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 supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which the database resides. If none is supplied, the AWS account ID is used
by default.public void setName(String name)
The name of the database to retrieve.
name
- The name of the database to retrieve.public String getName()
The name of the database to retrieve.
public GetDatabaseRequest withName(String name)
The name of the database to retrieve.
name
- The name of the database to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetDatabaseRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.