Class CfnCatalogMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnCatalogMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCatalogMixinProps>
- Enclosing interface:
CfnCatalogMixinProps
@Stability(Stable)
public static final class CfnCatalogMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCatalogMixinProps>
A builder for
CfnCatalogMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Sets the value ofCfnCatalogMixinProps.getAllowFullTableExternalDataAccess()build()Builds the configured instance.catalogProperties(CfnCatalogPropsMixin.CatalogPropertiesProperty catalogProperties) Sets the value ofCfnCatalogMixinProps.getCatalogProperties()catalogProperties(IResolvable catalogProperties) Sets the value ofCfnCatalogMixinProps.getCatalogProperties()createDatabaseDefaultPermissions(List<? extends Object> createDatabaseDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateDatabaseDefaultPermissions()createDatabaseDefaultPermissions(IResolvable createDatabaseDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateDatabaseDefaultPermissions()createTableDefaultPermissions(List<? extends Object> createTableDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateTableDefaultPermissions()createTableDefaultPermissions(IResolvable createTableDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateTableDefaultPermissions()description(String description) Sets the value ofCfnCatalogMixinProps.getDescription()federatedCatalog(CfnCatalogPropsMixin.FederatedCatalogProperty federatedCatalog) Sets the value ofCfnCatalogMixinProps.getFederatedCatalog()federatedCatalog(IResolvable federatedCatalog) Sets the value ofCfnCatalogMixinProps.getFederatedCatalog()Sets the value ofCfnCatalogMixinProps.getName()overwriteChildResourcePermissionsWithDefault(String overwriteChildResourcePermissionsWithDefault) Sets the value ofCfnCatalogMixinProps.getOverwriteChildResourcePermissionsWithDefault()parameters(Map<String, String> parameters) Sets the value ofCfnCatalogMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnCatalogMixinProps.getParameters()Sets the value ofCfnCatalogMixinProps.getTags()targetRedshiftCatalog(CfnCatalogPropsMixin.TargetRedshiftCatalogProperty targetRedshiftCatalog) Sets the value ofCfnCatalogMixinProps.getTargetRedshiftCatalog()targetRedshiftCatalog(IResolvable targetRedshiftCatalog) Sets the value ofCfnCatalogMixinProps.getTargetRedshiftCatalog()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowFullTableExternalDataAccess
@Stability(Stable) public CfnCatalogMixinProps.Builder allowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Sets the value ofCfnCatalogMixinProps.getAllowFullTableExternalDataAccess()- Parameters:
allowFullTableExternalDataAccess- Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.- Returns:
this
-
catalogProperties
@Stability(Stable) public CfnCatalogMixinProps.Builder catalogProperties(IResolvable catalogProperties) Sets the value ofCfnCatalogMixinProps.getCatalogProperties()- Parameters:
catalogProperties- A structure that specifies data lake access properties and other custom properties.- Returns:
this
-
catalogProperties
@Stability(Stable) public CfnCatalogMixinProps.Builder catalogProperties(CfnCatalogPropsMixin.CatalogPropertiesProperty catalogProperties) Sets the value ofCfnCatalogMixinProps.getCatalogProperties()- Parameters:
catalogProperties- A structure that specifies data lake access properties and other custom properties.- Returns:
this
-
createDatabaseDefaultPermissions
@Stability(Stable) public CfnCatalogMixinProps.Builder createDatabaseDefaultPermissions(IResolvable createDatabaseDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateDatabaseDefaultPermissions()- Parameters:
createDatabaseDefaultPermissions- An array of PrincipalPermissions objects for default database permissions.- Returns:
this
-
createDatabaseDefaultPermissions
@Stability(Stable) public CfnCatalogMixinProps.Builder createDatabaseDefaultPermissions(List<? extends Object> createDatabaseDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateDatabaseDefaultPermissions()- Parameters:
createDatabaseDefaultPermissions- An array of PrincipalPermissions objects for default database permissions.- Returns:
this
-
createTableDefaultPermissions
@Stability(Stable) public CfnCatalogMixinProps.Builder createTableDefaultPermissions(IResolvable createTableDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateTableDefaultPermissions()- Parameters:
createTableDefaultPermissions- An array of PrincipalPermissions objects for default table permissions.- Returns:
this
-
createTableDefaultPermissions
@Stability(Stable) public CfnCatalogMixinProps.Builder createTableDefaultPermissions(List<? extends Object> createTableDefaultPermissions) Sets the value ofCfnCatalogMixinProps.getCreateTableDefaultPermissions()- Parameters:
createTableDefaultPermissions- An array of PrincipalPermissions objects for default table permissions.- Returns:
this
-
description
Sets the value ofCfnCatalogMixinProps.getDescription()- Parameters:
description- A description of the catalog.- Returns:
this
-
federatedCatalog
@Stability(Stable) public CfnCatalogMixinProps.Builder federatedCatalog(IResolvable federatedCatalog) Sets the value ofCfnCatalogMixinProps.getFederatedCatalog()- Parameters:
federatedCatalog- A FederatedCatalog structure that references an entity outside the Glue Data Catalog.- Returns:
this
-
federatedCatalog
@Stability(Stable) public CfnCatalogMixinProps.Builder federatedCatalog(CfnCatalogPropsMixin.FederatedCatalogProperty federatedCatalog) Sets the value ofCfnCatalogMixinProps.getFederatedCatalog()- Parameters:
federatedCatalog- A FederatedCatalog structure that references an entity outside the Glue Data Catalog.- Returns:
this
-
name
Sets the value ofCfnCatalogMixinProps.getName()- Parameters:
name- The name of the catalog to create.- Returns:
this
-
overwriteChildResourcePermissionsWithDefault
@Stability(Stable) public CfnCatalogMixinProps.Builder overwriteChildResourcePermissionsWithDefault(String overwriteChildResourcePermissionsWithDefault) Sets the value ofCfnCatalogMixinProps.getOverwriteChildResourcePermissionsWithDefault()- Parameters:
overwriteChildResourcePermissionsWithDefault- Specifies whether to overwrite child resource permissions with the default permissions.- Returns:
this
-
parameters
Sets the value ofCfnCatalogMixinProps.getParameters()- Parameters:
parameters- A map of key-value pairs that define parameters and properties of the catalog.- Returns:
this
-
parameters
Sets the value ofCfnCatalogMixinProps.getParameters()- Parameters:
parameters- A map of key-value pairs that define parameters and properties of the catalog.- Returns:
this
-
tags
Sets the value ofCfnCatalogMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
targetRedshiftCatalog
@Stability(Stable) public CfnCatalogMixinProps.Builder targetRedshiftCatalog(IResolvable targetRedshiftCatalog) Sets the value ofCfnCatalogMixinProps.getTargetRedshiftCatalog()- Parameters:
targetRedshiftCatalog- A structure that describes a target catalog for resource linking.- Returns:
this
-
targetRedshiftCatalog
@Stability(Stable) public CfnCatalogMixinProps.Builder targetRedshiftCatalog(CfnCatalogPropsMixin.TargetRedshiftCatalogProperty targetRedshiftCatalog) Sets the value ofCfnCatalogMixinProps.getTargetRedshiftCatalog()- Parameters:
targetRedshiftCatalog- A structure that describes a target catalog for resource linking.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCatalogMixinProps>- Returns:
- a new instance of
CfnCatalogMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-