Class CfnDataTableProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnDataTableProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataTableProps>
- Enclosing interface:
CfnDataTableProps
@Stability(Stable)
public static final class CfnDataTableProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataTableProps>
A builder for
CfnDataTableProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDataTableProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnDataTableProps.getInstanceArn()Sets the value ofCfnDataTableProps.getName()Sets the value ofCfnDataTableProps.getStatus()Sets the value ofCfnDataTableProps.getTags()Sets the value ofCfnDataTableProps.getTimeZone()valueLockLevel(String valueLockLevel) Sets the value ofCfnDataTableProps.getValueLockLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDataTableProps.getDescription()- Parameters:
description- An optional description of the data table's purpose and contents.- Returns:
this
-
instanceArn
Sets the value ofCfnDataTableProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance.- Returns:
this
-
name
Sets the value ofCfnDataTableProps.getName()- Parameters:
name- The human-readable name of the data table. Must be unique within the instance and conform to Connect naming standards.- Returns:
this
-
status
Sets the value ofCfnDataTableProps.getStatus()- Parameters:
status- The current status of the data table. One of PUBLISHED or SAVED.- Returns:
this
-
tags
Sets the value ofCfnDataTableProps.getTags()- Parameters:
tags- Key-value pairs for attribute based access control (TBAC or ABAC) and organization.- Returns:
this
-
timeZone
Sets the value ofCfnDataTableProps.getTimeZone()- Parameters:
timeZone- The IANA timezone identifier used when resolving time based dynamic values. Required even if no time slices are specified.- Returns:
this
-
valueLockLevel
Sets the value ofCfnDataTableProps.getValueLockLevel()- Parameters:
valueLockLevel- The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataTableProps>- Returns:
- a new instance of
CfnDataTableProps - Throws:
NullPointerException- if any required attribute was not provided
-