@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()
The metadata for the database.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database.
|
void |
setDatabaseInput(DatabaseInput databaseInput)
The metadata for the database.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatabaseRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database.
|
CreateDatabaseRequest |
withDatabaseInput(DatabaseInput databaseInput)
The metadata for the database.
|
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, withSdkRequestTimeoutpublic void setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default.
catalogId - The ID of the Data Catalog in which to create the database. 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 to create the database. If none is provided, the Amazon Web Services 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 provided, the Amazon Web Services account ID is used by default.
catalogId - The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services
account ID is used by default.public void setDatabaseInput(DatabaseInput databaseInput)
The metadata for the database.
databaseInput - The metadata for the database.public DatabaseInput getDatabaseInput()
The metadata for the database.
public CreateDatabaseRequest withDatabaseInput(DatabaseInput databaseInput)
The metadata for the database.
databaseInput - The metadata for the database.public String toString()
toString in class ObjectObject.toString()public CreateDatabaseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()