CdnEndpoint.UpdateStandardEndpoint Interface
public interface UpdateStandardEndpoint extends CdnEndpoint.Update
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
Method Summary
Inherited Members
Method Details
withCompressionEnabled
public UpdateStandardEndpoint withCompressionEnabled(boolean compressionEnabled)
Sets the compression state.
Parameters:
Returns:
withContentTypesToCompress
public UpdateStandardEndpoint withContentTypesToCompress(Set
Specifies the content types to compress.
Parameters:
Returns:
withContentTypeToCompress
public UpdateStandardEndpoint withContentTypeToCompress(String contentTypeToCompress)
Specifies a single content type to compress.
Parameters:
Returns:
withCustomDomain
public UpdateStandardEndpoint withCustomDomain(String hostName)
Adds a new CDN custom domain within an endpoint.
Parameters:
Returns:
withGeoFilter
public UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, Collection
Sets the geo filters list for the specified countries list.
Parameters:
Returns:
withGeoFilter
public UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)
Adds a single entry to the Geo filters list.
Parameters:
Returns:
withGeoFilters
public UpdateStandardEndpoint withGeoFilters(Collection
Specifies the geo filters to use.
Parameters:
Returns:
withHostHeader
public UpdateStandardEndpoint withHostHeader(String hostHeader)
Specifies the host header.
Parameters:
Returns:
withHttpAllowed
public UpdateStandardEndpoint withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed.
Parameters:
Returns:
withHttpPort
public UpdateStandardEndpoint withHttpPort(int httpPort)
Specifies the port for HTTP traffic.
Parameters:
Returns:
withHttpsAllowed
public UpdateStandardEndpoint withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed.
Parameters:
Returns:
withHttpsPort
public UpdateStandardEndpoint withHttpsPort(int httpsPort)
Specifies the port for HTTP traffic.
Parameters:
Returns:
withOriginPath
public UpdateStandardEndpoint withOriginPath(String originPath)
Specifies the origin path.
Parameters:
Returns:
withoutContentTypesToCompress
public UpdateStandardEndpoint withoutContentTypesToCompress()
Clears entire list of content types to compress.
Returns:
withoutContentTypeToCompress
public UpdateStandardEndpoint withoutContentTypeToCompress(String contentTypeToCompress)
Removes the content type to compress from the list.
Parameters:
Returns:
withoutCustomDomain
public UpdateStandardEndpoint withoutCustomDomain(String hostName)
Removes CDN custom domain within an endpoint.
Parameters:
Returns:
withoutGeoFilter
public UpdateStandardEndpoint withoutGeoFilter(String relativePath)
Removes an entry from the geo filters list.
Parameters:
Returns:
withoutGeoFilters
public UpdateStandardEndpoint withoutGeoFilters()
Clears entire geo filters list.
Returns:
withQueryStringCachingBehavior
public UpdateStandardEndpoint withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)
Sets the query string caching behavior.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for