Class CfnSimpleTable.Builder

java.lang.Object
software.amazon.awscdk.services.sam.CfnSimpleTable.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimpleTable>
Enclosing class:
CfnSimpleTable

@Stability(Stable) public static final class CfnSimpleTable.Builder extends Object implements software.amazon.jsii.Builder<CfnSimpleTable>
A fluent builder for CfnSimpleTable.
  • Method Details

    • create

      @Stability(Stable) public static CfnSimpleTable.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSimpleTable.Builder.
    • primaryKey

      @Stability(Stable) public CfnSimpleTable.Builder primaryKey(IResolvable primaryKey)
      AWS::Serverless::SimpleTable.PrimaryKey.

      Parameters:
      primaryKey - AWS::Serverless::SimpleTable.PrimaryKey. This parameter is required.
      Returns:
      this
    • primaryKey

      @Stability(Stable) public CfnSimpleTable.Builder primaryKey(CfnSimpleTable.PrimaryKeyProperty primaryKey)
      AWS::Serverless::SimpleTable.PrimaryKey.

      Parameters:
      primaryKey - AWS::Serverless::SimpleTable.PrimaryKey. This parameter is required.
      Returns:
      this
    • provisionedThroughput

      @Stability(Stable) public CfnSimpleTable.Builder provisionedThroughput(IResolvable provisionedThroughput)
      AWS::Serverless::SimpleTable.ProvisionedThroughput.

      Parameters:
      provisionedThroughput - AWS::Serverless::SimpleTable.ProvisionedThroughput. This parameter is required.
      Returns:
      this
    • provisionedThroughput

      @Stability(Stable) public CfnSimpleTable.Builder provisionedThroughput(CfnSimpleTable.ProvisionedThroughputProperty provisionedThroughput)
      AWS::Serverless::SimpleTable.ProvisionedThroughput.

      Parameters:
      provisionedThroughput - AWS::Serverless::SimpleTable.ProvisionedThroughput. This parameter is required.
      Returns:
      this
    • sseSpecification

      @Stability(Stable) public CfnSimpleTable.Builder sseSpecification(IResolvable sseSpecification)
      AWS::Serverless::SimpleTable.SSESpecification.

      Parameters:
      sseSpecification - AWS::Serverless::SimpleTable.SSESpecification. This parameter is required.
      Returns:
      this
    • sseSpecification

      @Stability(Stable) public CfnSimpleTable.Builder sseSpecification(CfnSimpleTable.SSESpecificationProperty sseSpecification)
      AWS::Serverless::SimpleTable.SSESpecification.

      Parameters:
      sseSpecification - AWS::Serverless::SimpleTable.SSESpecification. This parameter is required.
      Returns:
      this
    • tableName

      @Stability(Stable) public CfnSimpleTable.Builder tableName(String tableName)
      AWS::Serverless::SimpleTable.TableName.

      Parameters:
      tableName - AWS::Serverless::SimpleTable.TableName. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnSimpleTable.Builder tags(Map<String,String> tags)
      AWS::Serverless::SimpleTable.Tags.

      Parameters:
      tags - AWS::Serverless::SimpleTable.Tags. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSimpleTable build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSimpleTable>
      Returns:
      a newly built instance of CfnSimpleTable.