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 Summary
ConstructorDescriptionCreates an instance of StreamingEndpointInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accessControl property: The access control definition of the streaming endpoint.Get the availabilitySetName property: This feature is deprecated, do not set a value for this property.Get the cdnEnabled property: The CDN enabled flag.Get the cdnProfile property: The CDN profile name.Get the cdnProvider property: The CDN provider name.created()
Get the created property: The exact time the streaming endpoint was created.Get the crossSiteAccessPolicies property: The streaming endpoint access policies.Get the customHostNames property: The custom host names of the streaming endpoint.Get the description property: The streaming endpoint description.Get the freeTrialEndTime property: The free trial expiration time.hostname()
Get the hostname property: The streaming endpoint host name.Get the lastModified property: The exact time the streaming endpoint was last modified.Get the maxCacheAge property: Max cache age.Get the provisioningState property: The provisioning state of the streaming endpoint.Get the resourceState property: The resource state of the streaming endpoint.Get the scaleUnits property: The number of scale units.sku()
Get the sku property: The streaming endpoint sku.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withAccessControl
(StreamingEndpointAccessControl accessControl) Set the accessControl property: The access control definition of the streaming endpoint.withAvailabilitySetName
(String availabilitySetName) Set the availabilitySetName property: This feature is deprecated, do not set a value for this property.withCdnEnabled
(Boolean cdnEnabled) Set the cdnEnabled property: The CDN enabled flag.withCdnProfile
(String cdnProfile) Set the cdnProfile property: The CDN profile name.withCdnProvider
(String cdnProvider) Set the cdnProvider property: The CDN provider name.withCrossSiteAccessPolicies
(CrossSiteAccessPolicies crossSiteAccessPolicies) Set the crossSiteAccessPolicies property: The streaming endpoint access policies.withCustomHostNames
(List<String> customHostNames) Set the customHostNames property: The custom host names of the streaming endpoint.withDescription
(String description) Set the description property: The streaming endpoint description.withLocation
(String location) withMaxCacheAge
(Long maxCacheAge) Set the maxCacheAge property: Max cache age.withScaleUnits
(Integer scaleUnits) Set the scaleUnits property: The number of scale units.Set the sku property: The streaming endpoint sku.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
description
Get the description property: The streaming endpoint description.- Returns:
- the description value.
-
withDescription
Set the description property: The streaming endpoint description.- Parameters:
description
- the description value to set.- Returns:
- the StreamingEndpointInner object itself.
-
scaleUnits
Get the scaleUnits property: The number of scale units. Use the Scale operation to adjust this value.- Returns:
- the scaleUnits value.
-
withScaleUnits
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
Get the availabilitySetName property: This feature is deprecated, do not set a value for this property.- Returns:
- the availabilitySetName value.
-
withAvailabilitySetName
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
Get the accessControl property: The access control definition of the streaming endpoint.- Returns:
- the accessControl value.
-
withAccessControl
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
Get the maxCacheAge property: Max cache age.- Returns:
- the maxCacheAge value.
-
withMaxCacheAge
Set the maxCacheAge property: Max cache age.- Parameters:
maxCacheAge
- the maxCacheAge value to set.- Returns:
- the StreamingEndpointInner object itself.
-
customHostNames
Get the customHostNames property: The custom host names of the streaming endpoint.- Returns:
- the customHostNames value.
-
withCustomHostNames
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
Get the hostname property: The streaming endpoint host name.- Returns:
- the hostname value.
-
cdnEnabled
Get the cdnEnabled property: The CDN enabled flag.- Returns:
- the cdnEnabled value.
-
withCdnEnabled
Set the cdnEnabled property: The CDN enabled flag.- Parameters:
cdnEnabled
- the cdnEnabled value to set.- Returns:
- the StreamingEndpointInner object itself.
-
cdnProvider
Get the cdnProvider property: The CDN provider name.- Returns:
- the cdnProvider value.
-
withCdnProvider
Set the cdnProvider property: The CDN provider name.- Parameters:
cdnProvider
- the cdnProvider value to set.- Returns:
- the StreamingEndpointInner object itself.
-
cdnProfile
Get the cdnProfile property: The CDN profile name.- Returns:
- the cdnProfile value.
-
withCdnProfile
Set the cdnProfile property: The CDN profile name.- Parameters:
cdnProfile
- the cdnProfile value to set.- Returns:
- the StreamingEndpointInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the streaming endpoint.- Returns:
- the provisioningState value.
-
resourceState
Get the resourceState property: The resource state of the streaming endpoint.- Returns:
- the resourceState value.
-
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
Get the freeTrialEndTime property: The free trial expiration time.- Returns:
- the freeTrialEndTime value.
-
created
Get the created property: The exact time the streaming endpoint was created.- Returns:
- the created value.
-
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.
-