@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDatabaseRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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.
|
Map<String,String> |
getTags()
The tags you assign to 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.
|
void |
setTags(Map<String,String> tags)
The tags you assign to 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.
|
CreateDatabaseRequest |
withTags(Map<String,String> tags)
The tags you assign to 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 Map<String,String> getTags()
The tags you assign to the database.
public void setTags(Map<String,String> tags)
The tags you assign to the database.
tags - The tags you assign to the database.public CreateDatabaseRequest withTags(Map<String,String> tags)
The tags you assign to the database.
tags - The tags you assign to the database.public CreateDatabaseRequest addTagsEntry(String key, String value)
public CreateDatabaseRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateDatabaseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()