Class CfnDataTableRecordProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnDataTableRecordProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataTableRecordProps>
- Enclosing interface:
CfnDataTableRecordProps
@Stability(Stable)
public static final class CfnDataTableRecordProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataTableRecordProps>
A builder for
CfnDataTableRecordProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataTableArn(String dataTableArn) Sets the value ofCfnDataTableRecordProps.getDataTableArn()dataTableRecord(IResolvable dataTableRecord) Sets the value ofCfnDataTableRecordProps.getDataTableRecord()dataTableRecord(CfnDataTableRecord.DataTableRecordProperty dataTableRecord) Sets the value ofCfnDataTableRecordProps.getDataTableRecord()instanceArn(String instanceArn) Sets the value ofCfnDataTableRecordProps.getInstanceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataTableArn
Sets the value ofCfnDataTableRecordProps.getDataTableArn()- Parameters:
dataTableArn- The Amazon Resource Name (ARN) for the data table. Does not include version aliases.- Returns:
this
-
dataTableRecord
@Stability(Stable) public CfnDataTableRecordProps.Builder dataTableRecord(IResolvable dataTableRecord) Sets the value ofCfnDataTableRecordProps.getDataTableRecord()- Parameters:
dataTableRecord- the value to be set.- Returns:
this
-
dataTableRecord
@Stability(Stable) public CfnDataTableRecordProps.Builder dataTableRecord(CfnDataTableRecord.DataTableRecordProperty dataTableRecord) Sets the value ofCfnDataTableRecordProps.getDataTableRecord()- Parameters:
dataTableRecord- the value to be set.- Returns:
this
-
instanceArn
Sets the value ofCfnDataTableRecordProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataTableRecordProps>- Returns:
- a new instance of
CfnDataTableRecordProps - Throws:
NullPointerException- if any required attribute was not provided
-