Class EnabledProtocols
java.lang.Object
com.azure.resourcemanager.mediaservices.models.EnabledProtocols
Class to specify which protocols are enabled.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
dash()
Get the dash property: Enable DASH protocol or not.boolean
download()
Get the download property: Enable Download protocol or not.boolean
hls()
Get the hls property: Enable HLS protocol or not.boolean
Get the smoothStreaming property: Enable SmoothStreaming protocol or not.void
validate()
Validates the instance.withDash
(boolean dash) Set the dash property: Enable DASH protocol or not.withDownload
(boolean download) Set the download property: Enable Download protocol or not.withHls
(boolean hls) Set the hls property: Enable HLS protocol or not.withSmoothStreaming
(boolean smoothStreaming) Set the smoothStreaming property: Enable SmoothStreaming protocol or not.
-
Constructor Details
-
EnabledProtocols
public EnabledProtocols()Creates an instance of EnabledProtocols class.
-
-
Method Details
-
download
public boolean download()Get the download property: Enable Download protocol or not.- Returns:
- the download value.
-
withDownload
Set the download property: Enable Download protocol or not.- Parameters:
download
- the download value to set.- Returns:
- the EnabledProtocols object itself.
-
dash
public boolean dash()Get the dash property: Enable DASH protocol or not.- Returns:
- the dash value.
-
withDash
Set the dash property: Enable DASH protocol or not.- Parameters:
dash
- the dash value to set.- Returns:
- the EnabledProtocols object itself.
-
hls
public boolean hls()Get the hls property: Enable HLS protocol or not.- Returns:
- the hls value.
-
withHls
Set the hls property: Enable HLS protocol or not.- Parameters:
hls
- the hls value to set.- Returns:
- the EnabledProtocols object itself.
-
smoothStreaming
public boolean smoothStreaming()Get the smoothStreaming property: Enable SmoothStreaming protocol or not.- Returns:
- the smoothStreaming value.
-
withSmoothStreaming
Set the smoothStreaming property: Enable SmoothStreaming protocol or not.- Parameters:
smoothStreaming
- the smoothStreaming value to set.- Returns:
- the EnabledProtocols object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-