@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 |
getCatalogId()
The identifier for the Data Catalog.
|
String |
getDatabaseName()
The name of the database for the table.
|
String |
getName()
The name of the table.
|
TableWildcard |
getTableWildcard()
A wildcard object representing every table under a database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setDatabaseName(String databaseName)
The name of the database for the table.
|
void |
setName(String name)
The name of the table.
|
void |
setTableWildcard(TableWildcard tableWildcard)
A wildcard object representing every table under a database.
|
String |
toString()
Returns a string representation of this object.
|
TableResource |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
TableResource |
withDatabaseName(String databaseName)
The name of the database for the table.
|
TableResource |
withName(String name)
The name of the table.
|
TableResource |
withTableWildcard(TableWildcard tableWildcard)
A wildcard object representing every table under a database.
|
public void setCatalogId(String catalogId)
The identifier for the Data Catalog. By default, it is the account ID of the caller.
catalogId
- The identifier for the Data Catalog. By default, it is the account ID of the caller.public String getCatalogId()
The identifier for the Data Catalog. By default, it is the account ID of the caller.
public TableResource withCatalogId(String catalogId)
The identifier for the Data Catalog. By default, it is the account ID of the caller.
catalogId
- The identifier for the Data Catalog. By default, it is the account ID of the caller.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 void setTableWildcard(TableWildcard tableWildcard)
A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
tableWildcard
- A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
public TableWildcard getTableWildcard()
A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
public TableResource withTableWildcard(TableWildcard tableWildcard)
A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
tableWildcard
- A wildcard object representing every table under a database.
At least one of TableResource$Name
or TableResource$TableWildcard
is required.
public String toString()
toString
in class Object
Object.toString()
public TableResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.