CdnEndpoint.UpdatePremiumEndpoint Interface

Implements

public static interface CdnEndpoint.UpdatePremiumEndpoint
extends Update

The stage of an CDN profile endpoint update allowing to specify endpoint properties.

Method Summary

Modifier and Type Method and Description
abstract UpdatePremiumEndpoint withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

abstract UpdatePremiumEndpoint withHostHeader(String hostHeader)

Specifies the host header.

abstract UpdatePremiumEndpoint withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

abstract UpdatePremiumEndpoint withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

abstract UpdatePremiumEndpoint withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

abstract UpdatePremiumEndpoint withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

abstract UpdatePremiumEndpoint withOriginPath(String originPath)

Specifies the origin path.

abstract UpdatePremiumEndpoint withoutCustomDomain(String hostName)

Removes CDN custom domain within an endpoint.

Method Details

withCustomDomain

public abstract CdnEndpoint.UpdatePremiumEndpoint 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 endpoint update

withHostHeader

public abstract CdnEndpoint.UpdatePremiumEndpoint withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header

Returns:

the next stage of the endpoint update

withHttpAllowed

public abstract CdnEndpoint.UpdatePremiumEndpoint 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 endpoint update

withHttpPort

public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

Parameters:

httpPort - a port number.

Returns:

the next stage of the endpoint update

withHttpsAllowed

public abstract CdnEndpoint.UpdatePremiumEndpoint 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 endpoint update

withHttpsPort

public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

Parameters:

httpsPort - a port number.

Returns:

the next stage of the endpoint update

withOriginPath

public abstract CdnEndpoint.UpdatePremiumEndpoint withOriginPath(String originPath)

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the endpoint update

withoutCustomDomain

public abstract CdnEndpoint.UpdatePremiumEndpoint withoutCustomDomain(String hostName)

Removes CDN custom domain within an endpoint.

Parameters:

hostName - a custom domain host name.

Returns:

the next stage of the endpoint update

Applies to