Class TableReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.dynamodb.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.Sets the value ofTableReference.getTableArn()Sets the value ofTableReference.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tableArn
Sets the value ofTableReference.getTableArn()- Parameters:
tableArn- The ARN 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:
buildin interfacesoftware.amazon.jsii.Builder<TableReference>- Returns:
- a new instance of
TableReference - Throws:
NullPointerException- if any required attribute was not provided
-