Interface VideoEntity


  • public interface VideoEntity
    An immutable client-side representation of VideoEntity.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      VideoArchival archival()
      Gets the archival property: Video archival properties.
      VideoContentUrls contentUrls()
      Gets the contentUrls property: Set of URLs to the video content.
      String description()
      Gets the description property: Optional video description provided by the user.
      VideoFlags flags()
      Gets the flags property: Video flags contain information about the available video actions and its dynamic properties based on the current video state.
      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      VideoEntityInner innerModel()
      Gets the inner com.azure.resourcemanager.videoanalyzer.fluent.models.VideoEntityInner object.
      VideoContentToken listContentToken()
      Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.
      com.azure.core.http.rest.Response<VideoContentToken> listContentTokenWithResponse​(com.azure.core.util.Context context)
      Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.
      VideoMediaInfo mediaInfo()
      Gets the mediaInfo property: Contains information about the video and audio content.
      String name()
      Gets the name property: The name of the resource.
      VideoEntity refresh()
      Refreshes the resource to sync with Azure.
      VideoEntity refresh​(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      String resourceGroupName()
      Gets the name of the resource group.
      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      String title()
      Gets the title property: Optional video title provided by the user.
      String type()
      Gets the type property: The type of the resource.
      VideoType typePropertiesType()
      Gets the typePropertiesType property: Video content type.
      VideoEntity.Update update()
      Begins update for the VideoEntity resource.
    • Method Detail

      • 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: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • title

        String title()
        Gets the title property: Optional video title provided by the user. Value can be up to 256 characters long.
        Returns:
        the title value.
      • description

        String description()
        Gets the description property: Optional video description provided by the user. Value can be up to 2048 characters long.
        Returns:
        the description value.
      • typePropertiesType

        VideoType typePropertiesType()
        Gets the typePropertiesType property: Video content type. Different content types are suitable for different applications and scenarios.
        Returns:
        the typePropertiesType value.
      • flags

        VideoFlags flags()
        Gets the flags property: Video flags contain information about the available video actions and its dynamic properties based on the current video state.
        Returns:
        the flags value.
      • contentUrls

        VideoContentUrls contentUrls()
        Gets the contentUrls property: Set of URLs to the video content.
        Returns:
        the contentUrls value.
      • mediaInfo

        VideoMediaInfo mediaInfo()
        Gets the mediaInfo property: Contains information about the video and audio content.
        Returns:
        the mediaInfo value.
      • archival

        VideoArchival archival()
        Gets the archival property: Video archival properties.
        Returns:
        the archival value.
      • resourceGroupName

        String resourceGroupName()
        Gets the name of the resource group.
        Returns:
        the name of the resource group.
      • innerModel

        VideoEntityInner innerModel()
        Gets the inner com.azure.resourcemanager.videoanalyzer.fluent.models.VideoEntityInner object.
        Returns:
        the inner object.
      • update

        VideoEntity.Update update()
        Begins update for the VideoEntity resource.
        Returns:
        the stage of resource update.
      • refresh

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

        VideoEntity 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.
      • listContentToken

        VideoContentToken listContentToken()
        Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.
        Returns:
        "Video content token grants access to the video content URLs.".
        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.
      • listContentTokenWithResponse

        com.azure.core.http.rest.Response<VideoContentToken> listContentTokenWithResponse​(com.azure.core.util.Context context)
        Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        "Video content token grants access to the video content URLs." 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.