Class AbWatermarkingVmaskProfile
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AbWatermarkingVmaskProfile.Builder,AbWatermarkingVmaskProfile>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final DoubleThe 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.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.The frequency mode to use with the embeddingFrequency and initialOffset parameters.final StringThe frequency mode to use with the embeddingFrequency and initialOffset parameters.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe initial offset for the first embedded watermark (in frames).preset()The visibility mask preset.final StringThe visibility mask preset.final DoublepsnrHf()The base PSNR value for high-frequency embedding.final DoublepsnrLf()The base PSNR value for low-frequency embedding.final DoublesceneCut()The number of frames after scene-cut to embed the watermark.static Class<? extends AbWatermarkingVmaskProfile.Builder> final Doublestrength()The visibility mask strength.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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,
frequencyModewill returnAbWatermarkingFrequencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyModeAsString().- 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
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,
frequencyModewill returnAbWatermarkingFrequencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyModeAsString().- 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
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
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,
presetwill returnAbWatermarkingVmaskPreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetAsString().- 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
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,
presetwill returnAbWatermarkingVmaskPreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetAsString().- 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
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
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
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
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AbWatermarkingVmaskProfile.Builder,AbWatermarkingVmaskProfile> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-