CdnEndpoint.UpdateStandardEndpoint Interface
Implements
public static interface CdnEndpoint.UpdateStandardEndpoint
extends Update
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
Method Summary
Method Details
defineNewStandardRulesEngineRule
public abstract CdnStandardRulesEngineRule.DefinitionStage.Blank
Begins the definition of the Standard rules engine rule to be attached to the endpoint. Supports STANDARD_MICROSOFT.
Parameters:
Returns:
updateStandardRulesEngineRule
public abstract CdnStandardRulesEngineRule.Update
Begins the update of the Standard rules engine rule. Supports STANDARD_MICROSOFT.
Parameters:
Returns:
withCompressionEnabled
public abstract CdnEndpoint.UpdateStandardEndpoint withCompressionEnabled(boolean compressionEnabled)
Sets the compression state.
Parameters:
Returns:
withContentTypeToCompress
public abstract CdnEndpoint.UpdateStandardEndpoint withContentTypeToCompress(String contentTypeToCompress)
Specifies a single content type to compress.
Parameters:
Returns:
withContentTypesToCompress
public abstract CdnEndpoint.UpdateStandardEndpoint withContentTypesToCompress(Set
Specifies the content types to compress.
Parameters:
Returns:
withCustomDomain
public abstract CdnEndpoint.UpdateStandardEndpoint withCustomDomain(String hostName)
Adds a new CDN custom domain within an endpoint.
Parameters:
Returns:
withGeoFilter
public abstract CdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)
Adds a single entry to the Geo filters list.
Parameters:
Returns:
withGeoFilter
public abstract CdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, Collection
Sets the geo filters list for the specified countries list.
Parameters:
Returns:
withGeoFilters
public abstract CdnEndpoint.UpdateStandardEndpoint withGeoFilters(Collection
Specifies the geo filters to use.
Parameters:
Returns:
withHostHeader
public abstract CdnEndpoint.UpdateStandardEndpoint withHostHeader(String hostHeader)
Specifies the host header.
Parameters:
Returns:
withHttpAllowed
public abstract CdnEndpoint.UpdateStandardEndpoint withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed.
Parameters:
Returns:
withHttpPort
public abstract CdnEndpoint.UpdateStandardEndpoint withHttpPort(int httpPort)
Specifies the port for HTTP traffic.
Parameters:
Returns:
withHttpsAllowed
public abstract CdnEndpoint.UpdateStandardEndpoint withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed.
Parameters:
Returns:
withHttpsPort
public abstract CdnEndpoint.UpdateStandardEndpoint withHttpsPort(int httpsPort)
Specifies the port for HTTP traffic.
Parameters:
Returns:
withOriginPath
public abstract CdnEndpoint.UpdateStandardEndpoint withOriginPath(String originPath)
Specifies the origin path.
Parameters:
Returns:
withQueryStringCachingBehavior
public abstract CdnEndpoint.UpdateStandardEndpoint withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)
Sets the query string caching behavior.
Parameters:
Returns:
withoutContentTypeToCompress
public abstract CdnEndpoint.UpdateStandardEndpoint withoutContentTypeToCompress(String contentTypeToCompress)
Removes the content type to compress from the list.
Parameters:
Returns:
withoutContentTypesToCompress
public abstract CdnEndpoint.UpdateStandardEndpoint withoutContentTypesToCompress()
Clears entire list of content types to compress.
Returns:
withoutCustomDomain
public abstract CdnEndpoint.UpdateStandardEndpoint withoutCustomDomain(String hostName)
Removes CDN custom domain within an endpoint.
Parameters:
Returns:
withoutGeoFilter
public abstract CdnEndpoint.UpdateStandardEndpoint withoutGeoFilter(String relativePath)
Removes an entry from the geo filters list.
Parameters:
Returns:
withoutGeoFilters
public abstract CdnEndpoint.UpdateStandardEndpoint withoutGeoFilters()
Clears entire geo filters list.
Returns:
withoutStandardRulesEngineRule
public abstract CdnEndpoint.UpdateStandardEndpoint withoutStandardRulesEngineRule(String name)
Removes the rule from the endpoint's Standard rules engine. Supports STANDARD_MICROSOFT.
Parameters:
Returns:
Applies to
Azure SDK for Java