@Generated(value="software.amazon.awssdk:codegen") public final class Resource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Resource.Builder,Resource>
A structure for the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Resource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Resource.Builder |
builder() |
CatalogResource |
catalog()
The identifier for the Data Catalog.
|
DatabaseResource |
database()
The database for the resource.
|
DataLocationResource |
dataLocation()
The location of an Amazon S3 path where permissions are granted or revoked.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Resource.Builder> |
serializableBuilderClass() |
TableResource |
table()
The table for the resource.
|
TableWithColumnsResource |
tableWithColumns()
The table with columns for the resource.
|
Resource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public 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.
public 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.
public 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.
public DataLocationResource dataLocation()
The location of an Amazon S3 path where permissions are granted or revoked.
public Resource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Resource.Builder,Resource>public static Resource.Builder builder()
public static Class<? extends Resource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.