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