Class StreamingEndpointProperties

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

public final class StreamingEndpointProperties extends Object
The streaming endpoint properties.
  • Constructor Details

    • StreamingEndpointProperties

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

    • description

      public String description()
      Get the description property: The streaming endpoint description.
      Returns:
      the description value.
    • withDescription

      public StreamingEndpointProperties withDescription(String description)
      Set the description property: The streaming endpoint description.
      Parameters:
      description - the description value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • scaleUnits

      public int scaleUnits()
      Get the scaleUnits property: The number of scale units. Use the Scale operation to adjust this value.
      Returns:
      the scaleUnits value.
    • withScaleUnits

      public StreamingEndpointProperties withScaleUnits(int scaleUnits)
      Set the scaleUnits property: The number of scale units. Use the Scale operation to adjust this value.
      Parameters:
      scaleUnits - the scaleUnits value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • availabilitySetName

      public String availabilitySetName()
      Get the availabilitySetName property: This feature is deprecated, do not set a value for this property.
      Returns:
      the availabilitySetName value.
    • withAvailabilitySetName

      public StreamingEndpointProperties withAvailabilitySetName(String availabilitySetName)
      Set the availabilitySetName property: This feature is deprecated, do not set a value for this property.
      Parameters:
      availabilitySetName - the availabilitySetName value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • accessControl

      public StreamingEndpointAccessControl accessControl()
      Get the accessControl property: The access control definition of the streaming endpoint.
      Returns:
      the accessControl value.
    • withAccessControl

      public StreamingEndpointProperties withAccessControl(StreamingEndpointAccessControl accessControl)
      Set the accessControl property: The access control definition of the streaming endpoint.
      Parameters:
      accessControl - the accessControl value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • maxCacheAge

      public Long maxCacheAge()
      Get the maxCacheAge property: Max cache age.
      Returns:
      the maxCacheAge value.
    • withMaxCacheAge

      public StreamingEndpointProperties withMaxCacheAge(Long maxCacheAge)
      Set the maxCacheAge property: Max cache age.
      Parameters:
      maxCacheAge - the maxCacheAge value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • customHostNames

      public List<String> customHostNames()
      Get the customHostNames property: The custom host names of the streaming endpoint.
      Returns:
      the customHostNames value.
    • withCustomHostNames

      public StreamingEndpointProperties withCustomHostNames(List<String> customHostNames)
      Set the customHostNames property: The custom host names of the streaming endpoint.
      Parameters:
      customHostNames - the customHostNames value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • hostname

      public String hostname()
      Get the hostname property: The streaming endpoint host name.
      Returns:
      the hostname value.
    • cdnEnabled

      public Boolean cdnEnabled()
      Get the cdnEnabled property: The CDN enabled flag.
      Returns:
      the cdnEnabled value.
    • withCdnEnabled

      public StreamingEndpointProperties withCdnEnabled(Boolean cdnEnabled)
      Set the cdnEnabled property: The CDN enabled flag.
      Parameters:
      cdnEnabled - the cdnEnabled value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • cdnProvider

      public String cdnProvider()
      Get the cdnProvider property: The CDN provider name.
      Returns:
      the cdnProvider value.
    • withCdnProvider

      public StreamingEndpointProperties withCdnProvider(String cdnProvider)
      Set the cdnProvider property: The CDN provider name.
      Parameters:
      cdnProvider - the cdnProvider value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • cdnProfile

      public String cdnProfile()
      Get the cdnProfile property: The CDN profile name.
      Returns:
      the cdnProfile value.
    • withCdnProfile

      public StreamingEndpointProperties withCdnProfile(String cdnProfile)
      Set the cdnProfile property: The CDN profile name.
      Parameters:
      cdnProfile - the cdnProfile value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the streaming endpoint.
      Returns:
      the provisioningState value.
    • resourceState

      public StreamingEndpointResourceState resourceState()
      Get the resourceState property: The resource state of the streaming endpoint.
      Returns:
      the resourceState value.
    • crossSiteAccessPolicies

      public CrossSiteAccessPolicies crossSiteAccessPolicies()
      Get the crossSiteAccessPolicies property: The streaming endpoint access policies.
      Returns:
      the crossSiteAccessPolicies value.
    • withCrossSiteAccessPolicies

      public StreamingEndpointProperties withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
      Set the crossSiteAccessPolicies property: The streaming endpoint access policies.
      Parameters:
      crossSiteAccessPolicies - the crossSiteAccessPolicies value to set.
      Returns:
      the StreamingEndpointProperties object itself.
    • freeTrialEndTime

      public OffsetDateTime freeTrialEndTime()
      Get the freeTrialEndTime property: The free trial expiration time.
      Returns:
      the freeTrialEndTime value.
    • created

      public OffsetDateTime created()
      Get the created property: The exact time the streaming endpoint was created.
      Returns:
      the created value.
    • lastModified

      public OffsetDateTime lastModified()
      Get the lastModified property: The exact time the streaming endpoint was last modified.
      Returns:
      the lastModified value.
    • validate

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