Class CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabasePropsMixin.DatabaseIdentifierProperty>
- Enclosing interface:
CfnDatabasePropsMixin.DatabaseIdentifierProperty
@Stability(Stable)
public static final class CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabasePropsMixin.DatabaseIdentifierProperty>
A builder for
CfnDatabasePropsMixin.DatabaseIdentifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getDatabaseName()Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder catalogId(String catalogId) Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getCatalogId()- Parameters:
catalogId- The ID of the Data Catalog in which the database resides.- Returns:
this
-
databaseName
@Stability(Stable) public CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder databaseName(String databaseName) Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getDatabaseName()- Parameters:
databaseName- The name of the catalog database.- Returns:
this
-
region
@Stability(Stable) public CfnDatabasePropsMixin.DatabaseIdentifierProperty.Builder region(String region) Sets the value ofCfnDatabasePropsMixin.DatabaseIdentifierProperty.getRegion()- Parameters:
region- The Region of the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabasePropsMixin.DatabaseIdentifierProperty>- Returns:
- a new instance of
CfnDatabasePropsMixin.DatabaseIdentifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-