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 TypeMethodDescriptionfinal AnyResourceAll resources of the specified type in a Data Catalog.static 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.final RLSPolicyResourceA row-level security policy resource.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.The user-defined function that you want to grant or revoke permissions on.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
anyResource
All resources of the specified type in a Data Catalog. When you grant or revoke permissions on this resource, the principal must be a user-defined function whose
GovernanceModeisLAKE_FORMATION, and the Data Catalog must be in your account.- Returns:
- All resources of the specified type in a Data Catalog. When you grant or revoke permissions on this
resource, the principal must be a user-defined function whose
GovernanceModeisLAKE_FORMATION, and the Data Catalog must be in your account.
-
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.
-
rlsPolicy
A row-level security policy resource. Specify this when granting or revoking permissions on a row-level security policy.
- Returns:
- A row-level security policy resource. Specify this when granting or revoking permissions on a row-level security policy.
-
userDefinedFunction
The user-defined function that you want to grant or revoke permissions on. The function's
GovernanceModemust beLAKE_FORMATION. You can grant the following permissions:-
EXECUTE– Use the function in a job, and get credentials to download its artifacts. -
DESCRIBE– View the function's definition. -
ALTER– Update the function. -
DROP– Delete the function. -
ALL– All of the preceding permissions.
- Returns:
- The user-defined function that you want to grant or revoke permissions on. The function's
GovernanceModemust beLAKE_FORMATION. You can grant the following permissions:-
EXECUTE– Use the function in a job, and get credentials to download its artifacts. -
DESCRIBE– View the function's definition. -
ALTER– Update the function. -
DROP– Delete the function. -
ALL– All of the preceding permissions.
-
-
-
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.
-