CdnEndpoint.UpdatePremiumEndpoint Interface

public interface UpdatePremiumEndpoint extends CdnEndpoint.Update

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

Method Summary

Modifier and Type Method and Description
CdnEndpoint.UpdatePremiumEndpoint withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

CdnEndpoint.UpdatePremiumEndpoint withHostHeader(String hostHeader)

Specifies the host header.

CdnEndpoint.UpdatePremiumEndpoint withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

CdnEndpoint.UpdatePremiumEndpoint withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

CdnEndpoint.UpdatePremiumEndpoint withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

CdnEndpoint.UpdatePremiumEndpoint withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

CdnEndpoint.UpdatePremiumEndpoint withOriginPath(String originPath)

Specifies the origin path.

CdnEndpoint.UpdatePremiumEndpoint withoutCustomDomain(String hostName)

Removes CDN custom domain within an endpoint.

Inherited Members

Method Details

withCustomDomain

public 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 UpdatePremiumEndpoint withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header

Returns:

the next stage of the endpoint update

withHttpAllowed

public 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 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 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 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 UpdatePremiumEndpoint withOriginPath(String originPath)

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the endpoint update

withoutCustomDomain

public 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