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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDatabase.DatabaseIdentifierProperty.getCatalogId()
databaseName
(String databaseName) Sets the value ofCfnDatabase.DatabaseIdentifierProperty.getDatabaseName()
Sets the value ofCfnDatabase.DatabaseIdentifierProperty.getRegion()
-
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
-
region
Sets the value ofCfnDatabase.DatabaseIdentifierProperty.getRegion()
- Parameters:
region
- The Region of the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatabase.DatabaseIdentifierProperty>
- Returns:
- a new instance of
CfnDatabase.DatabaseIdentifierProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-