Class EncoderCustomPreset
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.EncoderPresetBase
-
- com.azure.resourcemanager.videoanalyzer.models.EncoderCustomPreset
-
public final class EncoderCustomPreset extends EncoderPresetBase
Describes a custom preset for encoding the input content using the encoder processor.
-
-
Constructor Summary
Constructors Constructor Description EncoderCustomPreset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioEncoderBase
audioEncoder()
Get the audioEncoder property: Describes a custom preset for encoding audio.void
validate()
Validates the instance.VideoEncoderBase
videoEncoder()
Get the videoEncoder property: Describes a custom preset for encoding video.EncoderCustomPreset
withAudioEncoder(AudioEncoderBase audioEncoder)
Set the audioEncoder property: Describes a custom preset for encoding audio.EncoderCustomPreset
withVideoEncoder(VideoEncoderBase videoEncoder)
Set the videoEncoder property: Describes a custom preset for encoding video.
-
-
-
Method Detail
-
audioEncoder
public AudioEncoderBase audioEncoder()
Get the audioEncoder property: Describes a custom preset for encoding audio.- Returns:
- the audioEncoder value.
-
withAudioEncoder
public EncoderCustomPreset withAudioEncoder(AudioEncoderBase audioEncoder)
Set the audioEncoder property: Describes a custom preset for encoding audio.- Parameters:
audioEncoder
- the audioEncoder value to set.- Returns:
- the EncoderCustomPreset object itself.
-
videoEncoder
public VideoEncoderBase videoEncoder()
Get the videoEncoder property: Describes a custom preset for encoding video.- Returns:
- the videoEncoder value.
-
withVideoEncoder
public EncoderCustomPreset withVideoEncoder(VideoEncoderBase videoEncoder)
Set the videoEncoder property: Describes a custom preset for encoding video.- Parameters:
videoEncoder
- the videoEncoder value to set.- Returns:
- the EncoderCustomPreset object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEncoderPresetBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-