Class StreamingEndpointProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StreamingEndpointProperties
The streaming endpoint properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StreamingEndpointProperties 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.int
Get the scaleUnits property: The number of scale units.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.withMaxCacheAge
(Long maxCacheAge) Set the maxCacheAge property: Max cache age.withScaleUnits
(int scaleUnits) Set the scaleUnits property: The number of scale units.
-
Constructor Details
-
StreamingEndpointProperties
public StreamingEndpointProperties()Creates an instance of StreamingEndpointProperties class.
-
-
Method Details
-
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 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
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
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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 StreamingEndpointProperties 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 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
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.
-