@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDatabaseRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDatabaseRequest |
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 to create the database.
|
DatabaseInput |
getDatabaseInput()
A
DatabaseInput object defining the metadata database to create in the catalog. |
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database.
|
void |
setDatabaseInput(DatabaseInput databaseInput)
A
DatabaseInput object defining the metadata database to create in the catalog. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDatabaseRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database.
|
CreateDatabaseRequest |
withDatabaseInput(DatabaseInput databaseInput)
A
DatabaseInput object defining the metadata database to create in the catalog. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is used by default.
catalogId - The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is
used by default.public String getCatalogId()
The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is used by default.
public CreateDatabaseRequest withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is used by default.
catalogId - The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is
used by default.public void setDatabaseInput(DatabaseInput databaseInput)
A DatabaseInput object defining the metadata database to create in the catalog.
databaseInput - A DatabaseInput object defining the metadata database to create in the catalog.public DatabaseInput getDatabaseInput()
A DatabaseInput object defining the metadata database to create in the catalog.
DatabaseInput object defining the metadata database to create in the catalog.public CreateDatabaseRequest withDatabaseInput(DatabaseInput databaseInput)
A DatabaseInput object defining the metadata database to create in the catalog.
databaseInput - A DatabaseInput object defining the metadata database to create in the catalog.public String toString()
toString in class ObjectObject.toString()public CreateDatabaseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.