你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnabledProtocols Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.EnabledProtocols

public final class EnabledProtocols

Class to specify which protocols are enabled.

Constructor Summary

Constructor Description
EnabledProtocols()

Creates an instance of EnabledProtocols class.

Method Summary

Modifier and Type Method and Description
boolean 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 smoothStreaming()

Get the smoothStreaming property: Enable SmoothStreaming protocol or not.

void validate()

Validates the instance.

EnabledProtocols withDash(boolean dash)

Set the dash property: Enable DASH protocol or not.

EnabledProtocols withDownload(boolean download)

Set the download property: Enable Download protocol or not.

EnabledProtocols withHls(boolean hls)

Set the hls property: Enable HLS protocol or not.

EnabledProtocols withSmoothStreaming(boolean smoothStreaming)

Set the smoothStreaming property: Enable SmoothStreaming protocol or not.

Methods inherited from java.lang.Object

Constructor Details

EnabledProtocols

public EnabledProtocols()

Creates an instance of EnabledProtocols class.

Method Details

dash

public boolean dash()

Get the dash property: Enable DASH protocol or not.

Returns:

the dash value.

download

public boolean download()

Get the download property: Enable Download protocol or not.

Returns:

the download value.

hls

public boolean hls()

Get the hls property: Enable HLS protocol or not.

Returns:

the hls value.

smoothStreaming

public boolean smoothStreaming()

Get the smoothStreaming property: Enable SmoothStreaming protocol or not.

Returns:

the smoothStreaming value.

validate

public void validate()

Validates the instance.

withDash

public EnabledProtocols withDash(boolean dash)

Set the dash property: Enable DASH protocol or not.

Parameters:

dash - the dash value to set.

Returns:

the EnabledProtocols object itself.

withDownload

public EnabledProtocols withDownload(boolean download)

Set the download property: Enable Download protocol or not.

Parameters:

download - the download value to set.

Returns:

the EnabledProtocols object itself.

withHls

public EnabledProtocols withHls(boolean hls)

Set the hls property: Enable HLS protocol or not.

Parameters:

hls - the hls value to set.

Returns:

the EnabledProtocols object itself.

withSmoothStreaming

public EnabledProtocols withSmoothStreaming(boolean smoothStreaming)

Set the smoothStreaming property: Enable SmoothStreaming protocol or not.

Parameters:

smoothStreaming - the smoothStreaming value to set.

Returns:

the EnabledProtocols object itself.

Applies to