Class CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty>
- Enclosing interface:
CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty
@Stability(Stable)
public static final class CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty>
A builder for
CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) build()Builds the configured instance.catalogType(String catalogType) Sets the value ofCfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.getCatalogType()dataLakeAccess(Boolean dataLakeAccess) dataLakeAccess(IResolvable dataLakeAccess) dataTransferRole(String dataTransferRole) Sets the value ofCfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.getKmsKey()managedWorkgroupName(String managedWorkgroupName) managedWorkgroupStatus(String managedWorkgroupStatus) redshiftDatabaseName(String redshiftDatabaseName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowFullTableExternalDataAccess
@Stability(Stable) public CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder allowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Sets the value ofCfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.getAllowFullTableExternalDataAccess()- 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 CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder catalogType(String catalogType) Sets the value ofCfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.getCatalogType()- Parameters:
catalogType- Specifies a federated catalog type for the native catalog resource.- Returns:
this
-
dataLakeAccess
@Stability(Stable) public CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder dataLakeAccess(Boolean dataLakeAccess) - 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 CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder dataLakeAccess(IResolvable dataLakeAccess) - 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 CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder dataTransferRole(String dataTransferRole) - 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
@Stability(Stable) public CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnCatalogPropsMixin.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 CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder managedWorkgroupName(String managedWorkgroupName) - Parameters:
managedWorkgroupName- The name of the managed workgroup associated with the catalog.- Returns:
this
-
managedWorkgroupStatus
@Stability(Stable) public CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder managedWorkgroupStatus(String managedWorkgroupStatus) - Parameters:
managedWorkgroupStatus- The status of the managed workgroup.- Returns:
this
-
redshiftDatabaseName
@Stability(Stable) public CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty.Builder redshiftDatabaseName(String redshiftDatabaseName) - Parameters:
redshiftDatabaseName- The name of the Redshift database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty>- Returns:
- a new instance of
CfnCatalogPropsMixin.DataLakeAccessPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-