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