Interface Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,Resource>,SdkBuilder<Resource.Builder,Resource>,SdkPojo
- Enclosing class:
- Resource
public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Resource.Buildercatalog(Consumer<CatalogResource.Builder> catalog)The identifier for the Data Catalog.Resource.Buildercatalog(CatalogResource catalog)The identifier for the Data Catalog.default Resource.Builderdatabase(Consumer<DatabaseResource.Builder> database)The database for the resource.Resource.Builderdatabase(DatabaseResource database)The database for the resource.default Resource.BuilderdataCellsFilter(Consumer<DataCellsFilterResource.Builder> dataCellsFilter)A data cell filter.Resource.BuilderdataCellsFilter(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.Resource.BuilderdataLocation(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.Resource.BuilderlfTag(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.Resource.BuilderlfTagPolicy(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.Resource.Buildertable(TableResource table)The table for the resource.default Resource.BuildertableWithColumns(Consumer<TableWithColumnsResource.Builder> tableWithColumns)The table with columns for the resource.Resource.BuildertableWithColumns(TableWithColumnsResource tableWithColumns)The table with columns for the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalog
Resource.Builder catalog(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.
- 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
default Resource.Builder catalog(Consumer<CatalogResource.Builder> 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:
catalog(CatalogResource)
-
database
Resource.Builder database(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.
- 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
default Resource.Builder database(Consumer<DatabaseResource.Builder> 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:
database(DatabaseResource)
-
table
Resource.Builder table(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.
- 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
default Resource.Builder table(Consumer<TableResource.Builder> 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:
table(TableResource)
-
tableWithColumns
Resource.Builder tableWithColumns(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.
- 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:
tableWithColumns(TableWithColumnsResource)
-
dataLocation
Resource.Builder dataLocation(DataLocationResource 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
default Resource.Builder dataLocation(Consumer<DataLocationResource.Builder> 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:
dataLocation(DataLocationResource)
-
dataCellsFilter
Resource.Builder dataCellsFilter(DataCellsFilterResource 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
default Resource.Builder dataCellsFilter(Consumer<DataCellsFilterResource.Builder> 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:
dataCellsFilter(DataCellsFilterResource)
-
lfTag
Resource.Builder lfTag(LFTagKeyResource 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
default Resource.Builder lfTag(Consumer<LFTagKeyResource.Builder> 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:
lfTag(LFTagKeyResource)
-
lfTagPolicy
Resource.Builder lfTagPolicy(LFTagPolicyResource 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
default Resource.Builder lfTagPolicy(Consumer<LFTagPolicyResource.Builder> 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:
lfTagPolicy(LFTagPolicyResource)
-
-