Class CatalogProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.CatalogProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CatalogProps>
- Enclosing interface:
CatalogProps
@Stability(Experimental)
public static final class CatalogProps.Builder
extends Object
implements software.amazon.jsii.Builder<CatalogProps>
A builder for
CatalogProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.catalogName(String catalogName) Sets the value ofCatalogProps.getCatalogName()connectionPasswordEncryption(ConnectionPasswordEncryption connectionPasswordEncryption) Sets the value ofCatalogEncryptionOptions.getConnectionPasswordEncryption()description(String description) Sets the value ofCatalogProps.getDescription()encryptionAtRest(DataCatalogEncryptionAtRest encryptionAtRest) Sets the value ofCatalogEncryptionOptions.getEncryptionAtRest()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogName
Sets the value ofCatalogProps.getCatalogName()- Parameters:
catalogName- The name of the catalog. This parameter is required.- Returns:
this
-
description
Sets the value ofCatalogProps.getDescription()- Parameters:
description- A description of the catalog.- Returns:
this
-
connectionPasswordEncryption
@Stability(Experimental) public CatalogProps.Builder connectionPasswordEncryption(ConnectionPasswordEncryption connectionPasswordEncryption) Sets the value ofCatalogEncryptionOptions.getConnectionPasswordEncryption()- Parameters:
connectionPasswordEncryption- Connection-password encryption configuration for the catalog.- Returns:
this
-
encryptionAtRest
@Stability(Experimental) public CatalogProps.Builder encryptionAtRest(DataCatalogEncryptionAtRest encryptionAtRest) Sets the value ofCatalogEncryptionOptions.getEncryptionAtRest()- Parameters:
encryptionAtRest- Encryption-at-rest configuration for the catalog.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CatalogProps>- Returns:
- a new instance of
CatalogProps - Throws:
NullPointerException- if any required attribute was not provided
-