Class CfnCatalog.DataLakeAccessPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCatalog.DataLakeAccessPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCatalog.DataLakeAccessPropertiesProperty>
- Enclosing interface:
CfnCatalog.DataLakeAccessPropertiesProperty
@Stability(Stable)
public static final class CfnCatalog.DataLakeAccessPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCatalog.DataLakeAccessPropertiesProperty>
A builder for
CfnCatalog.DataLakeAccessPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) build()Builds the configured instance.catalogType(String catalogType) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getCatalogType()dataLakeAccess(Boolean dataLakeAccess) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataLakeAccess()dataLakeAccess(IResolvable dataLakeAccess) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataLakeAccess()dataTransferRole(String dataTransferRole) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataTransferRole()Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getKmsKey()managedWorkgroupName(String managedWorkgroupName) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getManagedWorkgroupName()managedWorkgroupStatus(String managedWorkgroupStatus) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getManagedWorkgroupStatus()redshiftDatabaseName(String redshiftDatabaseName) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getRedshiftDatabaseName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowFullTableExternalDataAccess
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder allowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) - Parameters:
allowFullTableExternalDataAccess- Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.- Returns:
this
-
catalogType
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder catalogType(String catalogType) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getCatalogType()- Parameters:
catalogType- Specifies a federated catalog type for the native catalog resource.- Returns:
this
-
dataLakeAccess
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder dataLakeAccess(Boolean dataLakeAccess) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataLakeAccess()- Parameters:
dataLakeAccess- Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine.- Returns:
this
-
dataLakeAccess
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder dataLakeAccess(IResolvable dataLakeAccess) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataLakeAccess()- Parameters:
dataLakeAccess- Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine.- Returns:
this
-
dataTransferRole
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder dataTransferRole(String dataTransferRole) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getDataTransferRole()- Parameters:
dataTransferRole- A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.- Returns:
this
-
kmsKey
Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getKmsKey()- Parameters:
kmsKey- An encryption key that will be used for the staging bucket that will be created along with the catalog.- Returns:
this
-
managedWorkgroupName
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder managedWorkgroupName(String managedWorkgroupName) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getManagedWorkgroupName()- Parameters:
managedWorkgroupName- The name of the managed workgroup associated with the catalog.- Returns:
this
-
managedWorkgroupStatus
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder managedWorkgroupStatus(String managedWorkgroupStatus) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getManagedWorkgroupStatus()- Parameters:
managedWorkgroupStatus- The status of the managed workgroup.- Returns:
this
-
redshiftDatabaseName
@Stability(Stable) public CfnCatalog.DataLakeAccessPropertiesProperty.Builder redshiftDatabaseName(String redshiftDatabaseName) Sets the value ofCfnCatalog.DataLakeAccessPropertiesProperty.getRedshiftDatabaseName()- Parameters:
redshiftDatabaseName- The name of the Redshift database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCatalog.DataLakeAccessPropertiesProperty>- Returns:
- a new instance of
CfnCatalog.DataLakeAccessPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-