Class Resource
- java.lang.Object
-
- software.amazon.awssdk.services.lakeformation.model.Resource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Resource.Builder,Resource>
@Generated("software.amazon.awssdk:codegen") public final class Resource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Resource.Builder,Resource>
A structure for the resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Resource.Builderbuilder()CatalogResourcecatalog()The identifier for the Data Catalog.DatabaseResourcedatabase()The database for the resource.DataCellsFilterResourcedataCellsFilter()A data cell filter.DataLocationResourcedataLocation()The location of an Amazon S3 path where permissions are granted or revoked.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LFTagKeyResourcelfTag()The LF-tag key and values attached to a resource.LFTagPolicyResourcelfTagPolicy()A list of LF-tag conditions that define a resource's LF-tag policy.List<SdkField<?>>sdkFields()static Class<? extends Resource.Builder>serializableBuilderClass()TableResourcetable()The table for the resource.TableWithColumnsResourcetableWithColumns()The table with columns for the resource.Resource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
catalog
public final 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 Lake Formation environment.
- Returns:
- 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 Lake Formation environment.
-
database
public final 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.
- Returns:
- 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.
-
table
public final 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.
- Returns:
- 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.
-
tableWithColumns
public final 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.
- Returns:
- 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.
-
dataLocation
public final DataLocationResource dataLocation()
The location of an Amazon S3 path where permissions are granted or revoked.
- Returns:
- The location of an Amazon S3 path where permissions are granted or revoked.
-
dataCellsFilter
public final DataCellsFilterResource dataCellsFilter()
A data cell filter.
- Returns:
- A data cell filter.
-
lfTag
public final LFTagKeyResource lfTag()
The LF-tag key and values attached to a resource.
- Returns:
- The LF-tag key and values attached to a resource.
-
lfTagPolicy
public final LFTagPolicyResource lfTagPolicy()
A list of LF-tag conditions that define a resource's LF-tag policy.
- Returns:
- A list of LF-tag conditions that define a resource's LF-tag policy.
-
toBuilder
public Resource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Resource.Builder,Resource>
-
builder
public static Resource.Builder builder()
-
serializableBuilderClass
public static Class<? extends Resource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-