public static interface CdnEndpoint.UpdateStandardEndpoint extends CdnEndpoint.Update
Modifier and Type | Method and Description |
---|---|
CdnEndpoint.UpdateStandardEndpoint |
withCompressionEnabled(boolean compressionEnabled)
Sets the compression state.
|
CdnEndpoint.UpdateStandardEndpoint |
withContentTypesToCompress(Set<String> contentTypesToCompress)
Specifies the content types to compress.
|
CdnEndpoint.UpdateStandardEndpoint |
withContentTypeToCompress(String contentTypeToCompress)
Specifies a single content type to compress.
|
CdnEndpoint.UpdateStandardEndpoint |
withCustomDomain(String hostName)
Adds a new CDN custom domain within an endpoint.
|
CdnEndpoint.UpdateStandardEndpoint |
withGeoFilter(String relativePath,
GeoFilterActions action,
Collection<CountryIsoCode> countryCodes)
Sets the geo filters list for the specified countries list.
|
CdnEndpoint.UpdateStandardEndpoint |
withGeoFilter(String relativePath,
GeoFilterActions action,
CountryIsoCode countryCode)
Adds a single entry to the Geo filters list.
|
CdnEndpoint.UpdateStandardEndpoint |
withGeoFilters(Collection<GeoFilter> geoFilters)
Specifies the geo filters to use.
|
CdnEndpoint.UpdateStandardEndpoint |
withHostHeader(String hostHeader)
Specifies the host header.
|
CdnEndpoint.UpdateStandardEndpoint |
withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed.
|
CdnEndpoint.UpdateStandardEndpoint |
withHttpPort(int httpPort)
Specifies the port for HTTP traffic.
|
CdnEndpoint.UpdateStandardEndpoint |
withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed.
|
CdnEndpoint.UpdateStandardEndpoint |
withHttpsPort(int httpsPort)
Specifies the port for HTTP traffic.
|
CdnEndpoint.UpdateStandardEndpoint |
withOriginPath(String originPath)
Specifies the origin path.
|
CdnEndpoint.UpdateStandardEndpoint |
withoutContentTypesToCompress()
Clears entire list of content types to compress.
|
CdnEndpoint.UpdateStandardEndpoint |
withoutContentTypeToCompress(String contentTypeToCompress)
Removes the content type to compress from the list.
|
CdnEndpoint.UpdateStandardEndpoint |
withoutCustomDomain(String hostName)
Removes CDN custom domain within an endpoint.
|
CdnEndpoint.UpdateStandardEndpoint |
withoutGeoFilter(String relativePath)
Removes an entry from the geo filters list.
|
CdnEndpoint.UpdateStandardEndpoint |
withoutGeoFilters()
Clears entire geo filters list.
|
CdnEndpoint.UpdateStandardEndpoint |
withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)
Sets the query string caching behavior.
|
CdnEndpoint.UpdateStandardEndpoint withOriginPath(String originPath)
originPath
- an origin pathCdnEndpoint.UpdateStandardEndpoint withHostHeader(String hostHeader)
hostHeader
- a host header.CdnEndpoint.UpdateStandardEndpoint withHttpAllowed(boolean httpAllowed)
httpAllowed
- if true then HTTP traffic will be allowedCdnEndpoint.UpdateStandardEndpoint withHttpsAllowed(boolean httpsAllowed)
httpsAllowed
- if true then HTTPS traffic will be allowed.CdnEndpoint.UpdateStandardEndpoint withHttpPort(int httpPort)
httpPort
- a port number.CdnEndpoint.UpdateStandardEndpoint withHttpsPort(int httpsPort)
httpsPort
- a port number.CdnEndpoint.UpdateStandardEndpoint withContentTypesToCompress(Set<String> contentTypesToCompress)
contentTypesToCompress
- content types to compress to setCdnEndpoint.UpdateStandardEndpoint withoutContentTypesToCompress()
CdnEndpoint.UpdateStandardEndpoint withContentTypeToCompress(String contentTypeToCompress)
contentTypeToCompress
- a single content type to compress to add to the listCdnEndpoint.UpdateStandardEndpoint withoutContentTypeToCompress(String contentTypeToCompress)
contentTypeToCompress
- a single content type to remove from the listCdnEndpoint.UpdateStandardEndpoint withCompressionEnabled(boolean compressionEnabled)
compressionEnabled
- if true then compression will be enabledCdnEndpoint.UpdateStandardEndpoint withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)
cachingBehavior
- the query string caching behavior value to setCdnEndpoint.UpdateStandardEndpoint withGeoFilters(Collection<GeoFilter> geoFilters)
geoFilters
- geo filtersCdnEndpoint.UpdateStandardEndpoint withoutGeoFilters()
CdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)
relativePath
- a relative pathaction
- an actioncountryCode
- an ISO 2 letter country codeCdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes)
relativePath
- a relative pathaction
- an actioncountryCodes
- a list of ISO 2 letter country codesCdnEndpoint.UpdateStandardEndpoint withoutGeoFilter(String relativePath)
relativePath
- a relative pathCdnEndpoint.UpdateStandardEndpoint withCustomDomain(String hostName)
hostName
- custom domain host nameCdnEndpoint.UpdateStandardEndpoint withoutCustomDomain(String hostName)
hostName
- a custom domain host nameCopyright © 2019. All rights reserved.