Class CfnConfiguredTable.AthenaTableReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.AthenaTableReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTable.AthenaTableReferenceProperty>
- Enclosing interface:
CfnConfiguredTable.AthenaTableReferenceProperty
@Stability(Stable)
public static final class CfnConfiguredTable.AthenaTableReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTable.AthenaTableReferenceProperty>
A builder for
CfnConfiguredTable.AthenaTableReferenceProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.databaseName
(String databaseName) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getDatabaseName()
outputLocation
(String outputLocation) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getOutputLocation()
Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getTableName()
Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
@Stability(Stable) public CfnConfiguredTable.AthenaTableReferenceProperty.Builder databaseName(String databaseName) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getDatabaseName()
- Parameters:
databaseName
- The database name. This parameter is required.- Returns:
this
-
tableName
@Stability(Stable) public CfnConfiguredTable.AthenaTableReferenceProperty.Builder tableName(String tableName) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getTableName()
- Parameters:
tableName
- The table reference. This parameter is required.- Returns:
this
-
workGroup
@Stability(Stable) public CfnConfiguredTable.AthenaTableReferenceProperty.Builder workGroup(String workGroup) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getWorkGroup()
- Parameters:
workGroup
- The workgroup of the Athena table reference. This parameter is required.- Returns:
this
-
outputLocation
@Stability(Stable) public CfnConfiguredTable.AthenaTableReferenceProperty.Builder outputLocation(String outputLocation) Sets the value ofCfnConfiguredTable.AthenaTableReferenceProperty.getOutputLocation()
- Parameters:
outputLocation
- The output location for the Athena table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguredTable.AthenaTableReferenceProperty>
- Returns:
- a new instance of
CfnConfiguredTable.AthenaTableReferenceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-