Interface ContentTypeProfileConfig.Builder

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

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

    • forwardWhenContentTypeIsUnknown

      ContentTypeProfileConfig.Builder forwardWhenContentTypeIsUnknown(Boolean forwardWhenContentTypeIsUnknown)

      The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

      Parameters:
      forwardWhenContentTypeIsUnknown - The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentTypeProfiles

      ContentTypeProfileConfig.Builder contentTypeProfiles(ContentTypeProfiles contentTypeProfiles)

      The configuration for a field-level encryption content type-profile.

      Parameters:
      contentTypeProfiles - The configuration for a field-level encryption content type-profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentTypeProfiles

      default ContentTypeProfileConfig.Builder contentTypeProfiles(Consumer<ContentTypeProfiles.Builder> contentTypeProfiles)

      The configuration for a field-level encryption content type-profile.

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

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

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