Class TableReference.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.TableReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TableReference>
- Enclosing interface:
TableReference
@Stability(Stable)
public static final class TableReference.Builder
extends Object
implements software.amazon.jsii.Builder<TableReference>
A builder for
TableReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.keyspaceName
(String keyspaceName) Sets the value ofTableReference.getKeyspaceName()
Sets the value ofTableReference.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyspaceName
Sets the value ofTableReference.getKeyspaceName()
- Parameters:
keyspaceName
- The KeyspaceName of the Table resource. This parameter is required.- Returns:
this
-
tableName
Sets the value ofTableReference.getTableName()
- Parameters:
tableName
- The TableName of the Table resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TableReference>
- Returns:
- a new instance of
TableReference
- Throws:
NullPointerException
- if any required attribute was not provided
-