Interface FieldLevelEncryptionProfileConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FieldLevelEncryptionProfileConfig.Builder,FieldLevelEncryptionProfileConfig>, SdkBuilder<FieldLevelEncryptionProfileConfig.Builder,FieldLevelEncryptionProfileConfig>, SdkPojo
Enclosing class:
FieldLevelEncryptionProfileConfig

public static interface FieldLevelEncryptionProfileConfig.Builder extends SdkPojo, CopyableBuilder<FieldLevelEncryptionProfileConfig.Builder,FieldLevelEncryptionProfileConfig>
  • Method Details

    • name

      Profile name for the field-level encryption profile.

      Parameters:
      name - Profile name for the field-level encryption profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerReference

      FieldLevelEncryptionProfileConfig.Builder callerReference(String callerReference)

      A unique number that ensures that the request can't be replayed.

      Parameters:
      callerReference - A unique number that ensures that the request can't be replayed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comment

      An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

      Parameters:
      comment - An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionEntities

      FieldLevelEncryptionProfileConfig.Builder encryptionEntities(EncryptionEntities encryptionEntities)

      A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

      Parameters:
      encryptionEntities - A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionEntities

      default FieldLevelEncryptionProfileConfig.Builder encryptionEntities(Consumer<EncryptionEntities.Builder> encryptionEntities)

      A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

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

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

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