@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableResource extends Object implements Serializable, Cloneable, StructuredPojo
A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
Constructor and Description |
---|
TableResource() |
Modifier and Type | Method and Description |
---|---|
TableResource |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name of the database for the table.
|
String |
getName()
The name of the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDatabaseName(String databaseName)
The name of the database for the table.
|
void |
setName(String name)
The name of the table.
|
String |
toString()
Returns a string representation of this object.
|
TableResource |
withDatabaseName(String databaseName)
The name of the database for the table.
|
TableResource |
withName(String name)
The name of the table.
|
public void setDatabaseName(String databaseName)
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
databaseName
- The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table
definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.public String getDatabaseName()
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
public TableResource withDatabaseName(String databaseName)
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
databaseName
- The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table
definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.public void setName(String name)
The name of the table.
name
- The name of the table.public String getName()
The name of the table.
public TableResource withName(String name)
The name of the table.
name
- The name of the table.public String toString()
toString
in class Object
Object.toString()
public TableResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.