Interface Resource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,,Resource> SdkBuilder<Resource.Builder,,Resource> SdkPojo
- Enclosing class:
Resource
-
Method Summary
Modifier and TypeMethodDescriptiondefault Resource.Buildercatalog(Consumer<CatalogResource.Builder> catalog) The identifier for the Data Catalog.catalog(CatalogResource catalog) The identifier for the Data Catalog.default Resource.Builderdatabase(Consumer<DatabaseResource.Builder> database) The database for the resource.database(DatabaseResource database) The database for the resource.default Resource.BuilderdataCellsFilter(Consumer<DataCellsFilterResource.Builder> dataCellsFilter) A data cell filter.dataCellsFilter(DataCellsFilterResource dataCellsFilter) A data cell filter.default Resource.BuilderdataLocation(Consumer<DataLocationResource.Builder> dataLocation) The location of an Amazon S3 path where permissions are granted or revoked.dataLocation(DataLocationResource dataLocation) The location of an Amazon S3 path where permissions are granted or revoked.default Resource.BuilderlfTag(Consumer<LFTagKeyResource.Builder> lfTag) The LF-tag key and values attached to a resource.lfTag(LFTagKeyResource lfTag) The LF-tag key and values attached to a resource.default Resource.BuilderlfTagPolicy(Consumer<LFTagPolicyResource.Builder> lfTagPolicy) A list of LF-tag conditions that define a resource's LF-tag policy.lfTagPolicy(LFTagPolicyResource lfTagPolicy) A list of LF-tag conditions that define a resource's LF-tag policy.default Resource.Buildertable(Consumer<TableResource.Builder> table) The table for the resource.table(TableResource table) The table for the resource.default Resource.BuildertableWithColumns(Consumer<TableWithColumnsResource.Builder> tableWithColumns) The table with columns for the resource.tableWithColumns(TableWithColumnsResource tableWithColumns) The table with columns for the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theCatalogResource.Builderavoiding the need to create one manually viaCatalogResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocatalog(CatalogResource).- Parameters:
catalog- a consumer that will call methods onCatalogResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theDatabaseResource.Builderavoiding the need to create one manually viaDatabaseResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabase(DatabaseResource).- Parameters:
database- a consumer that will call methods onDatabaseResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theTableResource.Builderavoiding the need to create one manually viaTableResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totable(TableResource).- Parameters:
table- a consumer that will call methods onTableResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
tableWithColumns
default Resource.Builder tableWithColumns(Consumer<TableWithColumnsResource.Builder> 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.
This is a convenience method that creates an instance of theTableWithColumnsResource.Builderavoiding the need to create one manually viaTableWithColumnsResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totableWithColumns(TableWithColumnsResource).- Parameters:
tableWithColumns- a consumer that will call methods onTableWithColumnsResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataLocation
The location of an Amazon S3 path where permissions are granted or revoked.
- Parameters:
dataLocation- The location of an Amazon S3 path where permissions are granted or revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLocation
The location of an Amazon S3 path where permissions are granted or revoked.
This is a convenience method that creates an instance of theDataLocationResource.Builderavoiding the need to create one manually viaDataLocationResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataLocation(DataLocationResource).- Parameters:
dataLocation- a consumer that will call methods onDataLocationResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCellsFilter
A data cell filter.
- Parameters:
dataCellsFilter- A data cell filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCellsFilter
A data cell filter.
This is a convenience method that creates an instance of theDataCellsFilterResource.Builderavoiding the need to create one manually viaDataCellsFilterResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataCellsFilter(DataCellsFilterResource).- Parameters:
dataCellsFilter- a consumer that will call methods onDataCellsFilterResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lfTag
The LF-tag key and values attached to a resource.
- Parameters:
lfTag- The LF-tag key and values attached to a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lfTag
The LF-tag key and values attached to a resource.
This is a convenience method that creates an instance of theLFTagKeyResource.Builderavoiding the need to create one manually viaLFTagKeyResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolfTag(LFTagKeyResource).- Parameters:
lfTag- a consumer that will call methods onLFTagKeyResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lfTagPolicy
A list of LF-tag conditions that define a resource's LF-tag policy.
- Parameters:
lfTagPolicy- A list of LF-tag conditions that define a resource's LF-tag policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lfTagPolicy
A list of LF-tag conditions that define a resource's LF-tag policy.
This is a convenience method that creates an instance of theLFTagPolicyResource.Builderavoiding the need to create one manually viaLFTagPolicyResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolfTagPolicy(LFTagPolicyResource).- Parameters:
lfTagPolicy- a consumer that will call methods onLFTagPolicyResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-