Class Resource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Resource.Builder,Resource>
A structure for the resource.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Resource.Builderbuilder()final CatalogResourcecatalog()The identifier for the Data Catalog.final DatabaseResourcedatabase()The database for the resource.final DataCellsFilterResourceA data cell filter.final DataLocationResourceThe location of an Amazon S3 path where permissions are granted or revoked.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LFTagKeyResourcelfTag()The LF-tag key and values attached to a resource.final LFTagExpressionResourceLF-Tag expression resource.final LFTagPolicyResourceA list of LF-tag conditions or saved LF-Tag expressions that define a resource's LF-tag policy.static Class<? extends Resource.Builder> final TableResourcetable()The table for the resource.final TableWithColumnsResourceThe table with columns for the resource.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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
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
A data cell filter.
- Returns:
- A data cell filter.
-
lfTag
The LF-tag key and values attached to a resource.
- Returns:
- The LF-tag key and values attached to a resource.
-
lfTagPolicy
A list of LF-tag conditions or saved LF-Tag expressions that define a resource's LF-tag policy.
- Returns:
- A list of LF-tag conditions or saved LF-Tag expressions that define a resource's LF-tag policy.
-
lfTagExpression
LF-Tag expression resource. A logical expression composed of one or more LF-Tag key:value pairs.
- Returns:
- LF-Tag expression resource. A logical expression composed of one or more LF-Tag key:value pairs.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Resource.Builder,Resource> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-