@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteDatabaseRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteDatabaseRequest |
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 delete.
|
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 delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDatabaseRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
|
DeleteDatabaseRequest |
withName(String name)
The name of the database to delete.
|
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 DeleteDatabaseRequest 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 delete. For Hive compatibility, this must be all lowercase.
name
- The name of the database to delete. For Hive compatibility, this must be all lowercase.public String getName()
The name of the database to delete. For Hive compatibility, this must be all lowercase.
public DeleteDatabaseRequest withName(String name)
The name of the database to delete. For Hive compatibility, this must be all lowercase.
name
- The name of the database to delete. For Hive compatibility, this must be all lowercase.public String toString()
toString
in class Object
Object.toString()
public DeleteDatabaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()