Interface CreateTypeRequest.Builder

    • Method Detail

      • keyspaceName

        CreateTypeRequest.Builder keyspaceName​(String keyspaceName)

        The name of the keyspace.

        Parameters:
        keyspaceName - The name of the keyspace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • typeName

        CreateTypeRequest.Builder typeName​(String typeName)

        The name of the user-defined type.

        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.

        Alternatively, you can declare a UDT name in double quotes. When declaring a UDT name inside double quotes, Amazon Keyspaces preserves upper casing and allows special characters.

        You can also use double quotes as part of the name when you create the UDT, but you must escape each double quote character with an additional double quote character.

        Parameters:
        typeName - The name of the user-defined type.

        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.

        Alternatively, you can declare a UDT name in double quotes. When declaring a UDT name inside double quotes, Amazon Keyspaces preserves upper casing and allows special characters.

        You can also use double quotes as part of the name when you create the UDT, but you must escape each double quote character with an additional double quote character.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldDefinitions

        CreateTypeRequest.Builder fieldDefinitions​(Collection<FieldDefinition> fieldDefinitions)

        The field definitions, consisting of names and types, that define this type.

        Parameters:
        fieldDefinitions - The field definitions, consisting of names and types, that define this type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldDefinitions

        CreateTypeRequest.Builder fieldDefinitions​(FieldDefinition... fieldDefinitions)

        The field definitions, consisting of names and types, that define this type.

        Parameters:
        fieldDefinitions - The field definitions, consisting of names and types, that define this type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.