Interface VectorBucket.Builder

  • Method Details

    • vectorBucketName

      VectorBucket.Builder vectorBucketName(String vectorBucketName)

      The name of the vector bucket.

      Parameters:
      vectorBucketName - The name of the vector bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vectorBucketArn

      VectorBucket.Builder vectorBucketArn(String vectorBucketArn)

      The Amazon Resource Name (ARN) of the vector bucket.

      Parameters:
      vectorBucketArn - The Amazon Resource Name (ARN) of the vector bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      VectorBucket.Builder creationTime(Instant creationTime)

      Date and time when the vector bucket was created.

      Parameters:
      creationTime - Date and time when the vector bucket was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      VectorBucket.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      The encryption configuration for the vector bucket.

      Parameters:
      encryptionConfiguration - The encryption configuration for the vector bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default VectorBucket.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      The encryption configuration for the vector bucket.

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

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

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

      VectorBucket.Builder defaultIndexMode(String defaultIndexMode)

      The mode that is automatically assigned to new vector indexes in the vector bucket. Changing the default index mode doesn't affect existing vector indexes.

      Parameters:
      defaultIndexMode - The mode that is automatically assigned to new vector indexes in the vector bucket. Changing the default index mode doesn't affect existing vector indexes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultIndexMode

      VectorBucket.Builder defaultIndexMode(IndexMode defaultIndexMode)

      The mode that is automatically assigned to new vector indexes in the vector bucket. Changing the default index mode doesn't affect existing vector indexes.

      Parameters:
      defaultIndexMode - The mode that is automatically assigned to new vector indexes in the vector bucket. Changing the default index mode doesn't affect existing vector indexes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: