Class AbWatermarkingVmaskProfile

java.lang.Object
software.amazon.awssdk.services.medialive.model.AbWatermarkingVmaskProfile
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AbWatermarkingVmaskProfile.Builder,AbWatermarkingVmaskProfile>

@Generated("software.amazon.awssdk:codegen") public final class AbWatermarkingVmaskProfile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AbWatermarkingVmaskProfile.Builder,AbWatermarkingVmaskProfile>
Choose this profile when preserving video fidelity is your top priority. Offers content-aware watermark placement with fine-grained control over visibility.
See Also:
  • Method Details

    • embeddingFrequency

      public final Double embeddingFrequency()
      The frequency at which watermarks will be embedded When frequencyMode is milliseconds, this field represents milliseconds When frequencyMode is frames or periodical, this field represents a frame count When frequencyMode is none, watermarking is disabled and this field will have no effect See the documentation for frequencyMode for more detail about how these values are used. It is recommended that this setting results in at least one watermarked frame per GOP.
      Returns:
      The frequency at which watermarks will be embedded When frequencyMode is milliseconds, this field represents milliseconds When frequencyMode is frames or periodical, this field represents a frame count When frequencyMode is none, watermarking is disabled and this field will have no effect See the documentation for frequencyMode for more detail about how these values are used. It is recommended that this setting results in at least one watermarked frame per GOP.
    • frequencyMode

      public final AbWatermarkingFrequencyMode frequencyMode()
      The frequency mode to use with the embeddingFrequency and initialOffset parameters. Default is milliseconds. 'none' - Periodic watermarking is disabled 'periodical' - The embeddingFrequency parameter specifies a regular distance (in frames) between embedded watermarks. It guarantees that each Nth frame is watermarked 'frames' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in frames. At least one frame will be watermarked during the specified period. 'milliseconds' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in milliseconds. At least one frame will be watermarked during the specified period.

      If the service returns an enum value that is not available in the current SDK version, frequencyMode will return AbWatermarkingFrequencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from frequencyModeAsString().

      Returns:
      The frequency mode to use with the embeddingFrequency and initialOffset parameters. Default is milliseconds. 'none' - Periodic watermarking is disabled 'periodical' - The embeddingFrequency parameter specifies a regular distance (in frames) between embedded watermarks. It guarantees that each Nth frame is watermarked 'frames' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in frames. At least one frame will be watermarked during the specified period. 'milliseconds' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in milliseconds. At least one frame will be watermarked during the specified period.
      See Also:
    • frequencyModeAsString

      public final String frequencyModeAsString()
      The frequency mode to use with the embeddingFrequency and initialOffset parameters. Default is milliseconds. 'none' - Periodic watermarking is disabled 'periodical' - The embeddingFrequency parameter specifies a regular distance (in frames) between embedded watermarks. It guarantees that each Nth frame is watermarked 'frames' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in frames. At least one frame will be watermarked during the specified period. 'milliseconds' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in milliseconds. At least one frame will be watermarked during the specified period.

      If the service returns an enum value that is not available in the current SDK version, frequencyMode will return AbWatermarkingFrequencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from frequencyModeAsString().

      Returns:
      The frequency mode to use with the embeddingFrequency and initialOffset parameters. Default is milliseconds. 'none' - Periodic watermarking is disabled 'periodical' - The embeddingFrequency parameter specifies a regular distance (in frames) between embedded watermarks. It guarantees that each Nth frame is watermarked 'frames' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in frames. At least one frame will be watermarked during the specified period. 'milliseconds' - The embeddingFrequency parameter specifies the maximum interval between embedded watermarks in milliseconds. At least one frame will be watermarked during the specified period.
      See Also:
    • initialOffset

      public final Integer initialOffset()
      The initial offset for the first embedded watermark (in frames). This parameter is used for periodic watermarking only when frequencyMode is either "periodical" or "frames". The offset value cannot exceed the value of the embeddingFrequency parameter. Set this paramter to -1 if there are no particular preferences.
      Returns:
      The initial offset for the first embedded watermark (in frames). This parameter is used for periodic watermarking only when frequencyMode is either "periodical" or "frames". The offset value cannot exceed the value of the embeddingFrequency parameter. Set this paramter to -1 if there are no particular preferences.
    • preset

      public final AbWatermarkingVmaskPreset preset()
      The visibility mask preset. When set to "custom", the psnrLf, psnrHf, and strength values are used directly. Other presets use predefined PSNR and strength values.

      If the service returns an enum value that is not available in the current SDK version, preset will return AbWatermarkingVmaskPreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetAsString().

      Returns:
      The visibility mask preset. When set to "custom", the psnrLf, psnrHf, and strength values are used directly. Other presets use predefined PSNR and strength values.
      See Also:
    • presetAsString

      public final String presetAsString()
      The visibility mask preset. When set to "custom", the psnrLf, psnrHf, and strength values are used directly. Other presets use predefined PSNR and strength values.

      If the service returns an enum value that is not available in the current SDK version, preset will return AbWatermarkingVmaskPreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from presetAsString().

      Returns:
      The visibility mask preset. When set to "custom", the psnrLf, psnrHf, and strength values are used directly. Other presets use predefined PSNR and strength values.
      See Also:
    • psnrHf

      public final Double psnrHf()
      The base PSNR value for high-frequency embedding. Controls watermark strength in textured/detailed areas of the frame. This value is required when preset is set to "custom"
      Returns:
      The base PSNR value for high-frequency embedding. Controls watermark strength in textured/detailed areas of the frame. This value is required when preset is set to "custom"
    • psnrLf

      public final Double psnrLf()
      The base PSNR value for low-frequency embedding. Controls watermark strength in smooth/flat areas of the frame. This value is required when preset is set to "custom"
      Returns:
      The base PSNR value for low-frequency embedding. Controls watermark strength in smooth/flat areas of the frame. This value is required when preset is set to "custom"
    • sceneCut

      public final Double sceneCut()
      The number of frames after scene-cut to embed the watermark. Set to -1 to disable watermarking by scene-cut detection.
      Returns:
      The number of frames after scene-cut to embed the watermark. Set to -1 to disable watermarking by scene-cut detection.
    • strength

      public final Double strength()
      The visibility mask strength. Higher values provide stronger masking of the watermark in visually sensitive regions. This value is required when preset is set to "custom"
      Returns:
      The visibility mask strength. Higher values provide stronger masking of the watermark in visually sensitive regions. This value is required when preset is set to "custom"
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<AbWatermarkingVmaskProfile.Builder,AbWatermarkingVmaskProfile>
      Returns:
      a builder for type T
    • builder

      public static AbWatermarkingVmaskProfile.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AbWatermarkingVmaskProfile.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.