Interface EncryptionEntity.Builder

  • Method Details

    • publicKeyId

      EncryptionEntity.Builder publicKeyId(String publicKeyId)

      The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

      Parameters:
      publicKeyId - The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerId

      EncryptionEntity.Builder providerId(String providerId)

      The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

      Parameters:
      providerId - The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldPatterns

      EncryptionEntity.Builder fieldPatterns(FieldPatterns fieldPatterns)

      Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

      Parameters:
      fieldPatterns - Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldPatterns

      default EncryptionEntity.Builder fieldPatterns(Consumer<FieldPatterns.Builder> fieldPatterns)

      Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

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

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

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