Class DatabaseReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.glue.DatabaseReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatabaseReference>
- Enclosing interface:
DatabaseReference
@Stability(Stable)
public static final class DatabaseReference.Builder
extends Object
implements software.amazon.jsii.Builder<DatabaseReference>
A builder for
DatabaseReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseName(String databaseName) Sets the value ofDatabaseReference.getDatabaseName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
Sets the value ofDatabaseReference.getDatabaseName()- Parameters:
databaseName- The DatabaseName of the Database resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatabaseReference>- Returns:
- a new instance of
DatabaseReference - Throws:
NullPointerException- if any required attribute was not provided
-