Interface CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT>
- Type Parameters:
ParentT
- the stage of the parent CDN profile definition to return to after attaching this definition
- All Superinterfaces:
CdnEndpoint.DefinitionStages.AttachableStandard<ParentT>
- Enclosing interface:
- CdnEndpoint.DefinitionStages
public static interface CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT>
extends CdnEndpoint.DefinitionStages.AttachableStandard<ParentT>
The final stage of the CDN profile Standard Akamai or Standard Verizon endpoint definition.
At this stage, any remaining optional settings can be specified, or the CDN profile endpoint definition can be attached to the parent CDN profile definition
-
Method Summary
Modifier and TypeMethodDescriptionwithCompressionEnabled
(boolean compressionEnabled) Sets the compression state.withContentTypesToCompress
(Set<String> contentTypesToCompress) Specifies the content types to compress.withContentTypeToCompress
(String contentTypeToCompress) Specifies a single content type to compress.withCustomDomain
(String hostName) Adds a new CDN custom domain within an endpoint.withGeoFilter
(String relativePath, GeoFilterActions action, CountryIsoCode countryCode) Adds a single entry to the geo filters list.withGeoFilter
(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes) Sets the geo filters list for the specified countries list.withGeoFilters
(Collection<GeoFilter> geoFilters) Specifies the geo filters to use.withHostHeader
(String hostHeader) Specifies the host header.withHttpAllowed
(boolean httpAllowed) Specifies if HTTP traffic is allowed.withHttpPort
(int httpPort) Specifies the port for HTTP traffic.withHttpsAllowed
(boolean httpsAllowed) Specifies if HTTPS traffic is allowed.withHttpsPort
(int httpsPort) Specifies the port for HTTPS traffic.withOriginPath
(String originPath) Specifies the origin path.withQueryStringCachingBehavior
(QueryStringCachingBehavior cachingBehavior) Selects the query string caching behavior.Methods inherited from interface com.microsoft.azure.management.cdn.CdnEndpoint.DefinitionStages.AttachableStandard
attach
-
Method Details
-
withOriginPath
Specifies the origin path.- Parameters:
originPath
- an origin path- Returns:
- the next stage of the definition
-
withHostHeader
Specifies the host header.- Parameters:
hostHeader
- a host header.- Returns:
- the next stage of the definition
-
withHttpAllowed
Specifies if HTTP traffic is allowed.- Parameters:
httpAllowed
- if true then HTTP traffic will be allowed- Returns:
- the next stage of the definition
-
withHttpsAllowed
Specifies if HTTPS traffic is allowed.- Parameters:
httpsAllowed
- if set to true Https traffic will be allowed.- Returns:
- the next stage of the definition
-
withHttpPort
Specifies the port for HTTP traffic.- Parameters:
httpPort
- a port number.- Returns:
- the next stage of the definition
-
withHttpsPort
Specifies the port for HTTPS traffic.- Parameters:
httpsPort
- HTTPS port number.- Returns:
- the next stage of the definition
-
withContentTypesToCompress
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress) Specifies the content types to compress.- Parameters:
contentTypesToCompress
- content types to compress to set- Returns:
- the next stage of the definition
-
withContentTypeToCompress
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withContentTypeToCompress(String contentTypeToCompress) Specifies a single content type to compress.- Parameters:
contentTypeToCompress
- a content type to compress to add to the list- Returns:
- the next stage of the definition
-
withCompressionEnabled
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withCompressionEnabled(boolean compressionEnabled) Sets the compression state.- Parameters:
compressionEnabled
- if true then compression will be enabled- Returns:
- the next stage of the definition
-
withQueryStringCachingBehavior
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior) Selects the query string caching behavior.- Parameters:
cachingBehavior
- the query string caching behavior value to set- Returns:
- the next stage of the definition
-
withGeoFilters
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters) Specifies the geo filters to use.- Parameters:
geoFilters
- geo filters- Returns:
- the next stage of the definition
-
withGeoFilter
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode) Adds a single entry to the geo filters list.- Parameters:
relativePath
- a relative pathaction
- a geo filter actioncountryCode
- an ISO 2 letter country code- Returns:
- the next stage of the definition
-
withGeoFilter
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes) Sets the geo filters list for the specified countries list.- Parameters:
relativePath
- a relative pathaction
- an action valuecountryCodes
- a list of the ISO 2 letter country codes.- Returns:
- the next stage of the definition
-
withCustomDomain
Adds a new CDN custom domain within an endpoint.- Parameters:
hostName
- a custom domain host name- Returns:
- the next stage of the definition
-