Class CfnTypeProps.Builder

java.lang.Object
software.amazon.awscdk.services.cassandra.CfnTypeProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTypeProps>
Enclosing interface:
CfnTypeProps

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

    • Builder

      public Builder()
  • Method Details

    • fields

      @Stability(Stable) public CfnTypeProps.Builder fields(IResolvable fields)
      Sets the value of CfnTypeProps.getFields()
      Parameters:
      fields - A list of fields that define this type. This parameter is required.
      Returns:
      this
    • fields

      @Stability(Stable) public CfnTypeProps.Builder fields(List<? extends Object> fields)
      Sets the value of CfnTypeProps.getFields()
      Parameters:
      fields - A list of fields that define this type. This parameter is required.
      Returns:
      this
    • keyspaceName

      @Stability(Stable) public CfnTypeProps.Builder keyspaceName(String keyspaceName)
      Parameters:
      keyspaceName - The name of the keyspace to create the type in. This parameter is required. The keyspace must already exist.
      Returns:
      this
    • typeName

      @Stability(Stable) public CfnTypeProps.Builder typeName(String typeName)
      Sets the value of CfnTypeProps.getTypeName()
      Parameters:
      typeName - The name of the user-defined type. This parameter is required. UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters. For more information, see Create a user-defined type (UDT) in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .
      Returns:
      this
    • build

      @Stability(Stable) public CfnTypeProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTypeProps>
      Returns:
      a new instance of CfnTypeProps
      Throws:
      NullPointerException - if any required attribute was not provided