Class DatabaseReference.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseArn(String databaseArn) Sets the value ofDatabaseReference.getDatabaseArn()databaseName(String databaseName) Sets the value ofDatabaseReference.getDatabaseName()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
databaseArnSets the value ofDatabaseReference.getDatabaseArn()- Parameters:
- databaseArn- The ARN of the Database resource. This parameter is required.
- Returns:
- this
 
- 
databaseNameSets the value ofDatabaseReference.getDatabaseName()- Parameters:
- databaseName- The DatabaseName of the Database resource. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<DatabaseReference>
- Returns:
- a new instance of DatabaseReference
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-