Aracılığıyla paylaş


CdnEndpoint.UpdateDefinitionStages.WithStandardAttach<ParentT> Interface

Type Parameters

ParentT

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

Implements

public static interface CdnEndpoint.UpdateDefinitionStages.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)

Sets the query string caching behavior.

Method Details

withCompressionEnabled

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

Sets the compression state.

Parameters:

compressionEnabled - if true then compression will be enabled, else disabled

Returns:

the next stage of the definition

withContentTypeToCompress

public abstract CdnEndpoint.UpdateDefinitionStages.WithStandardAttach withContentTypeToCompress(String contentTypeToCompress)

Specifies a single content type to compress.

Parameters:

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

Returns:

the next stage of the definition

withContentTypesToCompress

public abstract CdnEndpoint.UpdateDefinitionStages.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.UpdateDefinitionStages.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.UpdateDefinitionStages.WithStandardAttach withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)

Adds a single entry to the geo filters list.

Parameters:

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

Returns:

the next stage of the definition

withGeoFilter

public abstract CdnEndpoint.UpdateDefinitionStages.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
countryCodes - a list of ISO 2 letter country codes

Returns:

the next stage of the definition

withGeoFilters

public abstract CdnEndpoint.UpdateDefinitionStages.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.UpdateDefinitionStages.WithStandardAttach withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header

Returns:

the next stage of the definition

withHttpAllowed

public abstract CdnEndpoint.UpdateDefinitionStages.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.UpdateDefinitionStages.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.UpdateDefinitionStages.WithStandardAttach withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

Parameters:

httpsAllowed - if true then HTTPS traffic will be allowed

Returns:

the next stage of the definition

withHttpsPort

public abstract CdnEndpoint.UpdateDefinitionStages.WithStandardAttach withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

Parameters:

httpsPort - a port number.

Returns:

the next stage of the definition

withOriginPath

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

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the definition

withQueryStringCachingBehavior

public abstract CdnEndpoint.UpdateDefinitionStages.WithStandardAttach withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior)

Sets the query string caching behavior.

Parameters:

cachingBehavior - a query string caching behavior

Returns:

the next stage of the definition

Applies to