@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
A structure for the resource.
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
CatalogResource |
getCatalog()
The identifier for the Data Catalog.
|
DatabaseResource |
getDatabase()
The database for the resource.
|
DataLocationResource |
getDataLocation()
The location of an Amazon S3 path where permissions are granted or revoked.
|
TableResource |
getTable()
The table for the resource.
|
TableWithColumnsResource |
getTableWithColumns()
The table with columns for the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalog(CatalogResource catalog)
The identifier for the Data Catalog.
|
void |
setDatabase(DatabaseResource database)
The database for the resource.
|
void |
setDataLocation(DataLocationResource dataLocation)
The location of an Amazon S3 path where permissions are granted or revoked.
|
void |
setTable(TableResource table)
The table for the resource.
|
void |
setTableWithColumns(TableWithColumnsResource tableWithColumns)
The table with columns for the resource.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withCatalog(CatalogResource catalog)
The identifier for the Data Catalog.
|
Resource |
withDatabase(DatabaseResource database)
The database for the resource.
|
Resource |
withDataLocation(DataLocationResource dataLocation)
The location of an Amazon S3 path where permissions are granted or revoked.
|
Resource |
withTable(TableResource table)
The table for the resource.
|
Resource |
withTableWithColumns(TableWithColumnsResource tableWithColumns)
The table with columns for the resource.
|
public void setCatalog(CatalogResource catalog)
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
catalog
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent
metadata store. It contains database definitions, table definitions, and other control information to
manage your AWS Lake Formation environment.public CatalogResource getCatalog()
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
public Resource withCatalog(CatalogResource catalog)
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
catalog
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent
metadata store. It contains database definitions, table definitions, and other control information to
manage your AWS Lake Formation environment.public void setDatabase(DatabaseResource database)
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
database
- The database for the resource. Unique to the Data Catalog. A database is a set of associated table
definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.public DatabaseResource getDatabase()
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
public Resource withDatabase(DatabaseResource database)
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
database
- The database for the resource. Unique to the Data Catalog. A database is a set of associated table
definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.public void setTable(TableResource table)
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
table
- The table for the resource. A table is a metadata definition that represents your data. You can Grant and
Revoke table privileges to a principal.public TableResource getTable()
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
public Resource withTable(TableResource table)
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
table
- The table for the resource. A table is a metadata definition that represents your data. You can Grant and
Revoke table privileges to a principal.public void setTableWithColumns(TableWithColumnsResource tableWithColumns)
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
tableWithColumns
- The table with columns for the resource. A principal with permissions to this resource can select metadata
from the columns of a table in the Data Catalog and the underlying data in Amazon S3.public TableWithColumnsResource getTableWithColumns()
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
public Resource withTableWithColumns(TableWithColumnsResource tableWithColumns)
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
tableWithColumns
- The table with columns for the resource. A principal with permissions to this resource can select metadata
from the columns of a table in the Data Catalog and the underlying data in Amazon S3.public void setDataLocation(DataLocationResource dataLocation)
The location of an Amazon S3 path where permissions are granted or revoked.
dataLocation
- The location of an Amazon S3 path where permissions are granted or revoked.public DataLocationResource getDataLocation()
The location of an Amazon S3 path where permissions are granted or revoked.
public Resource withDataLocation(DataLocationResource dataLocation)
The location of an Amazon S3 path where permissions are granted or revoked.
dataLocation
- The location of an Amazon S3 path where permissions are granted or revoked.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.