ParentT
- the stage of the parent CDN profile update to return to after attaching this definitionpublic static interface CdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> extends CdnEndpoint.UpdateDefinitionStages.AttachableStandard<ParentT>
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
attach
CdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withOriginPath(String originPath)
originPath
- an origin pathCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withHostHeader(String hostHeader)
hostHeader
- a host headerCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withHttpAllowed(boolean httpAllowed)
httpAllowed
- if true then HTTP traffic will be allowedCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withHttpsAllowed(boolean httpsAllowed)
httpsAllowed
- if true then HTTPS traffic will be allowedCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withHttpPort(int httpPort)
httpPort
- a port numberCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withHttpsPort(int httpsPort)
httpsPort
- a port number.CdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress)
contentTypesToCompress
- content types to compress to setCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withContentTypeToCompress(String contentTypeToCompress)
contentTypeToCompress
- a single content type to compress to add to the listCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withCompressionEnabled(boolean compressionEnabled)
compressionEnabled
- if true then compression will be enabled, else disabledCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)
cachingBehavior
- a query string caching behaviorCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters)
geoFilters
- geo filtersCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)
relativePath
- a relative pathaction
- an actioncountryCode
- an ISO 2 letter country codeCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes)
relativePath
- a relative pathaction
- an actioncountryCodes
- a list of ISO 2 letter country codesCdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> withCustomDomain(String hostName)
hostName
- a custom domain host nameCopyright © 2019. All rights reserved.