Interface DataTableAttribute.Builder

  • Method Details

    • attributeId

      DataTableAttribute.Builder attributeId(String attributeId)

      The unique identifier for the attribute within the data table.

      Parameters:
      attributeId - The unique identifier for the attribute within the data table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.

      Parameters:
      name - The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueType

      DataTableAttribute.Builder valueType(String valueType)

      The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.

      Parameters:
      valueType - The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • valueType

      The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.

      Parameters:
      valueType - The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      DataTableAttribute.Builder description(String description)

      An optional description explaining the purpose and usage of this attribute.

      Parameters:
      description - An optional description explaining the purpose and usage of this attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataTableId

      DataTableAttribute.Builder dataTableId(String dataTableId)

      The unique identifier of the data table that contains this attribute.

      Parameters:
      dataTableId - The unique identifier of the data table that contains this attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataTableArn

      DataTableAttribute.Builder dataTableArn(String dataTableArn)

      The Amazon Resource Name (ARN) of the data table that contains this attribute.

      Parameters:
      dataTableArn - The Amazon Resource Name (ARN) of the data table that contains this attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primary

      Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.

      Parameters:
      primary - Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version identifier for this attribute, used for versioning and change tracking.

      Parameters:
      version - The version identifier for this attribute, used for versioning and change tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lockVersion

      The lock version for this attribute, used for optimistic locking to prevent concurrent modification conflicts.

      Parameters:
      lockVersion - The lock version for this attribute, used for optimistic locking to prevent concurrent modification conflicts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lockVersion

      The lock version for this attribute, used for optimistic locking to prevent concurrent modification conflicts.

      This is a convenience method that creates an instance of the DataTableLockVersion.Builder avoiding the need to create one manually via DataTableLockVersion.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lockVersion(DataTableLockVersion).

      Parameters:
      lockVersion - a consumer that will call methods on DataTableLockVersion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModifiedTime

      DataTableAttribute.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp when this attribute was last modified.

      Parameters:
      lastModifiedTime - The timestamp when this attribute was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedRegion

      DataTableAttribute.Builder lastModifiedRegion(String lastModifiedRegion)

      The AWS region where this attribute was last modified, used for region replication.

      Parameters:
      lastModifiedRegion - The AWS region where this attribute was last modified, used for region replication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validation

      DataTableAttribute.Builder validation(Validation validation)

      The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.

      Parameters:
      validation - The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validation

      default DataTableAttribute.Builder validation(Consumer<Validation.Builder> validation)

      The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.

      This is a convenience method that creates an instance of the Validation.Builder avoiding the need to create one manually via Validation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validation(Validation).

      Parameters:
      validation - a consumer that will call methods on Validation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: