CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> Interface

Type Parameters

ParentT

the stage of the parent CDN profile definition to return to after attaching this definition

public interface WithStandardAttach extends CdnEndpoint.DefinitionStages.AttachableStandard

The final stage of the CDN profile Standard Akamai or Standard Verizon endpoint definition.

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

Method Summary

Modifier and Type Method and Description
CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withCompressionEnabled(boolean compressionEnabled)

Sets the compression state.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress)

Specifies the content types to compress.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withContentTypeToCompress(String contentTypeToCompress)

Specifies a single content type to compress.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes)

Sets the geo filters list for the specified countries list.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)

Adds a single entry to the geo filters list.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters)

Specifies the geo filters to use.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withHostHeader(String hostHeader)

Specifies the host header.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withOriginPath(String originPath)

Specifies the origin path.

CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)

Selects the query string caching behavior.

Inherited Members

Method Details

withCompressionEnabled

public WithStandardAttach withCompressionEnabled(boolean compressionEnabled)

Sets the compression state.

Parameters:

compressionEnabled - if true then compression will be enabled

Returns:

the next stage of the definition

withContentTypesToCompress

public WithStandardAttach withContentTypesToCompress(Set contentTypesToCompress)

Specifies the content types to compress.

Parameters:

contentTypesToCompress - content types to compress to set

Returns:

the next stage of the definition

withContentTypeToCompress

public WithStandardAttach withContentTypeToCompress(String contentTypeToCompress)

Specifies a single content type to compress.

Parameters:

contentTypeToCompress - a content type to compress to add to the list

Returns:

the next stage of the definition

withCustomDomain

public WithStandardAttach withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

Parameters:

hostName - a custom domain host name

Returns:

the next stage of the definition

withGeoFilter

public WithStandardAttach withGeoFilter(String relativePath, GeoFilterActions action, Collection countryCodes)

Sets the geo filters list for the specified countries list.

Parameters:

relativePath - a relative path
action - an action value
countryCodes - a list of the ISO 2 letter country codes.

Returns:

the next stage of the definition

withGeoFilter

public WithStandardAttach withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)

Adds a single entry to the geo filters list.

Parameters:

relativePath - a relative path
action - a geo filter action
countryCode - an ISO 2 letter country code

Returns:

the next stage of the definition

withGeoFilters

public WithStandardAttach withGeoFilters(Collection geoFilters)

Specifies the geo filters to use.

Parameters:

geoFilters - geo filters

Returns:

the next stage of the definition

withHostHeader

public WithStandardAttach withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header.

Returns:

the next stage of the definition

withHttpAllowed

public WithStandardAttach withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

Parameters:

httpAllowed - if true then HTTP traffic will be allowed

Returns:

the next stage of the definition

withHttpPort

public WithStandardAttach withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

Parameters:

httpPort - a port number.

Returns:

the next stage of the definition

withHttpsAllowed

public WithStandardAttach withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

Parameters:

httpsAllowed - if set to true Https traffic will be allowed.

Returns:

the next stage of the definition

withHttpsPort

public WithStandardAttach withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

Parameters:

httpsPort - HTTPS port number.

Returns:

the next stage of the definition

withOriginPath

public WithStandardAttach withOriginPath(String originPath)

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the definition

withQueryStringCachingBehavior

public WithStandardAttach withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)

Selects the query string caching behavior.

Parameters:

cachingBehavior - the query string caching behavior value to set

Returns:

the next stage of the definition

Applies to