Class CfnDatabase.FederatedDatabaseProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnDatabase.FederatedDatabaseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabase.FederatedDatabaseProperty>
- Enclosing interface:
CfnDatabase.FederatedDatabaseProperty
@Stability(Stable)
public static final class CfnDatabase.FederatedDatabaseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabase.FederatedDatabaseProperty>
A builder for
CfnDatabase.FederatedDatabaseProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionName
(String connectionName) Sets the value ofCfnDatabase.FederatedDatabaseProperty.getConnectionName()
identifier
(String identifier) Sets the value ofCfnDatabase.FederatedDatabaseProperty.getIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnDatabase.FederatedDatabaseProperty.Builder connectionName(String connectionName) Sets the value ofCfnDatabase.FederatedDatabaseProperty.getConnectionName()
- Parameters:
connectionName
- The name of the connection to the external metastore.- Returns:
this
-
identifier
@Stability(Stable) public CfnDatabase.FederatedDatabaseProperty.Builder identifier(String identifier) Sets the value ofCfnDatabase.FederatedDatabaseProperty.getIdentifier()
- Parameters:
identifier
- A unique identifier for the federated database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatabase.FederatedDatabaseProperty>
- Returns:
- a new instance of
CfnDatabase.FederatedDatabaseProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-