CdnEndpoint.DefinitionStages.WithStandardAttach<ParentT> Interface

Type Parameters

ParentT

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

Implements

public static interface CdnEndpoint.DefinitionStages.WithStandardAttach
extends AttachableStandard<ParentT>

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
abstract WithStandardAttach<ParentT> withCompressionEnabled(boolean compressionEnabled)

Sets the compression state.

abstract WithStandardAttach<ParentT> withContentTypeToCompress(String contentTypeToCompress)

Specifies a single content type to compress.

abstract WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress)

Specifies the content types to compress.

abstract WithStandardAttach<ParentT> withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

abstract WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)

Adds a single entry to the geo filters list.

abstract WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes)

Sets the geo filters list for the specified countries list.

abstract WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters)

Specifies the geo filters to use.

abstract WithStandardAttach<ParentT> withHostHeader(String hostHeader)

Specifies the host header.

abstract WithStandardAttach<ParentT> withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

abstract WithStandardAttach<ParentT> withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

abstract WithStandardAttach<ParentT> withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

abstract WithStandardAttach<ParentT> withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

abstract WithStandardAttach<ParentT> withOriginPath(String originPath)

Specifies the origin path.

abstract WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)

Selects the query string caching behavior.

Method Details

withCompressionEnabled

public abstract CdnEndpoint.DefinitionStages.WithStandardAttach withCompressionEnabled(boolean compressionEnabled)

Sets the compression state.

Parameters:

compressionEnabled - if true then compression will be enabled

Returns:

the next stage of the definition

withContentTypeToCompress

public abstract CdnEndpoint.DefinitionStages.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

withContentTypesToCompress

public abstract CdnEndpoint.DefinitionStages.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

withCustomDomain

public abstract CdnEndpoint.DefinitionStages.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 abstract CdnEndpoint.DefinitionStages.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

withGeoFilter

public abstract CdnEndpoint.DefinitionStages.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

withGeoFilters

public abstract CdnEndpoint.DefinitionStages.WithStandardAttach withGeoFilters(Collection geoFilters)

Specifies the geo filters to use.

Parameters:

geoFilters - geo filters

Returns:

the next stage of the definition

withHostHeader

public abstract CdnEndpoint.DefinitionStages.WithStandardAttach withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header.

Returns:

the next stage of the definition

withHttpAllowed

public abstract CdnEndpoint.DefinitionStages.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 abstract CdnEndpoint.DefinitionStages.WithStandardAttach withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

Parameters:

httpPort - a port number.

Returns:

the next stage of the definition

withHttpsAllowed

public abstract CdnEndpoint.DefinitionStages.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 abstract CdnEndpoint.DefinitionStages.WithStandardAttach withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

Parameters:

httpsPort - HTTPS port number.

Returns:

the next stage of the definition

withOriginPath

public abstract CdnEndpoint.DefinitionStages.WithStandardAttach withOriginPath(String originPath)

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the definition

withQueryStringCachingBehavior

public abstract CdnEndpoint.DefinitionStages.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