Class StreamingEndpointInner

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

public final class StreamingEndpointInner extends com.azure.core.management.Resource
The streaming endpoint.
  • Constructor Details

    • StreamingEndpointInner

      public StreamingEndpointInner()
      Creates an instance of StreamingEndpointInner 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.
    • sku

      Get the sku property: The streaming endpoint sku.
      Returns:
      the sku value.
    • withSku

      Set the sku property: The streaming endpoint sku.
      Parameters:
      sku - the sku value to set.
      Returns:
      the StreamingEndpointInner object itself.
    • withLocation

      public StreamingEndpointInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public StreamingEndpointInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • description

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

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

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

      public StreamingEndpointInner withScaleUnits(Integer 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 StreamingEndpointInner 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 StreamingEndpointInner 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 StreamingEndpointInner object itself.
    • accessControl

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

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

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

      public StreamingEndpointInner withMaxCacheAge(Long maxCacheAge)
      Set the maxCacheAge property: Max cache age.
      Parameters:
      maxCacheAge - the maxCacheAge value to set.
      Returns:
      the StreamingEndpointInner 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 StreamingEndpointInner 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 StreamingEndpointInner 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 StreamingEndpointInner withCdnEnabled(Boolean cdnEnabled)
      Set the cdnEnabled property: The CDN enabled flag.
      Parameters:
      cdnEnabled - the cdnEnabled value to set.
      Returns:
      the StreamingEndpointInner object itself.
    • cdnProvider

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

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

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

      public StreamingEndpointInner withCdnProfile(String cdnProfile)
      Set the cdnProfile property: The CDN profile name.
      Parameters:
      cdnProfile - the cdnProfile value to set.
      Returns:
      the StreamingEndpointInner 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 StreamingEndpointInner withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
      Set the crossSiteAccessPolicies property: The streaming endpoint access policies.
      Parameters:
      crossSiteAccessPolicies - the crossSiteAccessPolicies value to set.
      Returns:
      the StreamingEndpointInner 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.