Interface StreamingLocator


public interface StreamingLocator
An immutable client-side representation of StreamingLocator.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • assetName

      String assetName()
      Gets the assetName property: Asset Name.
      Returns:
      the assetName value.
    • created

      OffsetDateTime created()
      Gets the created property: The creation time of the Streaming Locator.
      Returns:
      the created value.
    • startTime

      OffsetDateTime startTime()
      Gets the startTime property: The start time of the Streaming Locator.
      Returns:
      the startTime value.
    • endTime

      OffsetDateTime endTime()
      Gets the endTime property: The end time of the Streaming Locator.
      Returns:
      the endTime value.
    • streamingLocatorId

      UUID streamingLocatorId()
      Gets the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
      Returns:
      the streamingLocatorId value.
    • streamingPolicyName

      String streamingPolicyName()
      Gets the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.
      Returns:
      the streamingPolicyName value.
    • defaultContentKeyPolicyName

      String defaultContentKeyPolicyName()
      Gets the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.
      Returns:
      the defaultContentKeyPolicyName value.
    • contentKeys

      Gets the contentKeys property: The ContentKeys used by this Streaming Locator.
      Returns:
      the contentKeys value.
    • alternativeMediaId

      String alternativeMediaId()
      Gets the alternativeMediaId property: Alternative Media ID of this Streaming Locator.
      Returns:
      the alternativeMediaId value.
    • filters

      List<String> filters()
      Gets the filters property: A list of asset or account filters which apply to this streaming locator.
      Returns:
      the filters value.
    • innerModel

      StreamingLocatorInner innerModel()
      Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.StreamingLocatorInner object.
      Returns:
      the inner object.
    • refresh

      StreamingLocator refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      StreamingLocator refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • listContentKeysWithResponse

      com.azure.core.http.rest.Response<ListContentKeysResponse> listContentKeysWithResponse(com.azure.core.util.Context context)
      List Content Keys

      List Content Keys used by this Streaming Locator.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      class of response for listContentKeys action along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listContentKeys

      ListContentKeysResponse listContentKeys()
      List Content Keys

      List Content Keys used by this Streaming Locator.

      Returns:
      class of response for listContentKeys action.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listPathsWithResponse

      com.azure.core.http.rest.Response<ListPathsResponse> listPathsWithResponse(com.azure.core.util.Context context)
      List Paths

      List Paths supported by this Streaming Locator.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      class of response for listPaths action along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listPaths

      ListPathsResponse listPaths()
      List Paths

      List Paths supported by this Streaming Locator.

      Returns:
      class of response for listPaths action.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.