Class StreamingLocatorProperties

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StreamingLocatorProperties

public final class StreamingLocatorProperties extends Object
Properties of the Streaming Locator.
  • Constructor Details

    • StreamingLocatorProperties

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

    • assetName

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

      public StreamingLocatorProperties withAssetName(String assetName)
      Set the assetName property: Asset Name.
      Parameters:
      assetName - the assetName value to set.
      Returns:
      the StreamingLocatorProperties 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 StreamingLocatorProperties withStartTime(OffsetDateTime startTime)
      Set the startTime property: The start time of the Streaming Locator.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the StreamingLocatorProperties object itself.
    • endTime

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

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

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

      public StreamingLocatorProperties withStreamingLocatorId(UUID streamingLocatorId)
      Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
      Parameters:
      streamingLocatorId - the streamingLocatorId value to set.
      Returns:
      the StreamingLocatorProperties 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 StreamingLocatorProperties 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 StreamingLocatorProperties 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 StreamingLocatorProperties 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 StreamingLocatorProperties object itself.
    • contentKeys

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

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

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

      public StreamingLocatorProperties withAlternativeMediaId(String alternativeMediaId)
      Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.
      Parameters:
      alternativeMediaId - the alternativeMediaId value to set.
      Returns:
      the StreamingLocatorProperties 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 StreamingLocatorProperties 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 StreamingLocatorProperties object itself.
    • validate

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