Class StreamingLocatorInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.StreamingLocatorInner

public final class StreamingLocatorInner extends com.azure.core.management.ProxyResource
A Streaming Locator resource.
  • Constructor Details

    • StreamingLocatorInner

      public StreamingLocatorInner()
      Creates an instance of StreamingLocatorInner class.
  • Method Details

    • systemData

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

      public String assetName()
      Get the assetName property: Asset Name.
      Returns:
      the assetName value.
    • withAssetName

      public StreamingLocatorInner withAssetName(String assetName)
      Set the assetName property: Asset Name.
      Parameters:
      assetName - the assetName value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • created

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

      public OffsetDateTime startTime()
      Get the startTime property: The start time of the Streaming Locator.
      Returns:
      the startTime value.
    • withStartTime

      public StreamingLocatorInner withStartTime(OffsetDateTime startTime)
      Set the startTime property: The start time of the Streaming Locator.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: The end time of the Streaming Locator.
      Returns:
      the endTime value.
    • withEndTime

      public StreamingLocatorInner withEndTime(OffsetDateTime endTime)
      Set the endTime property: The end time of the Streaming Locator.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • streamingLocatorId

      public UUID streamingLocatorId()
      Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
      Returns:
      the streamingLocatorId value.
    • withStreamingLocatorId

      public StreamingLocatorInner withStreamingLocatorId(UUID streamingLocatorId)
      Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
      Parameters:
      streamingLocatorId - the streamingLocatorId value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • streamingPolicyName

      public String streamingPolicyName()
      Get 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.
    • withStreamingPolicyName

      public StreamingLocatorInner withStreamingPolicyName(String streamingPolicyName)
      Set 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'.
      Parameters:
      streamingPolicyName - the streamingPolicyName value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • defaultContentKeyPolicyName

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

      public StreamingLocatorInner withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)
      Set the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.
      Parameters:
      defaultContentKeyPolicyName - the defaultContentKeyPolicyName value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • contentKeys

      public List<StreamingLocatorContentKey> contentKeys()
      Get the contentKeys property: The ContentKeys used by this Streaming Locator.
      Returns:
      the contentKeys value.
    • withContentKeys

      public StreamingLocatorInner withContentKeys(List<StreamingLocatorContentKey> contentKeys)
      Set the contentKeys property: The ContentKeys used by this Streaming Locator.
      Parameters:
      contentKeys - the contentKeys value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • alternativeMediaId

      public String alternativeMediaId()
      Get the alternativeMediaId property: Alternative Media ID of this Streaming Locator.
      Returns:
      the alternativeMediaId value.
    • withAlternativeMediaId

      public StreamingLocatorInner withAlternativeMediaId(String alternativeMediaId)
      Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.
      Parameters:
      alternativeMediaId - the alternativeMediaId value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • filters

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

      public StreamingLocatorInner withFilters(List<String> filters)
      Set the filters property: A list of asset or account filters which apply to this streaming locator.
      Parameters:
      filters - the filters value to set.
      Returns:
      the StreamingLocatorInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.