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