CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach<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.WithPremiumAttach
extends AttachablePremium<ParentT>

The final stage of a CDN profile Premium 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 WithPremiumAttach<ParentT> withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

abstract WithPremiumAttach<ParentT> withHostHeader(String hostHeader)

Specifies the host header.

abstract WithPremiumAttach<ParentT> withHttpAllowed(boolean httpAllowed)

Specifies if HTTP traffic is allowed.

abstract WithPremiumAttach<ParentT> withHttpPort(int httpPort)

Specifies the port for HTTP traffic.

abstract WithPremiumAttach<ParentT> withHttpsAllowed(boolean httpsAllowed)

Specifies if HTTPS traffic is allowed.

abstract WithPremiumAttach<ParentT> withHttpsPort(int httpsPort)

Specifies the port for HTTPS traffic.

abstract WithPremiumAttach<ParentT> withOriginPath(String originPath)

Specifies the origin path.

Method Details

withCustomDomain

public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach withCustomDomain(String hostName)

Adds a new CDN custom domain within an endpoint.

Parameters:

hostName - custom domain host name.

Returns:

the next stage of the definition

withHostHeader

public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach withHostHeader(String hostHeader)

Specifies the host header.

Parameters:

hostHeader - a host header.

Returns:

the next stage of the definition

withHttpAllowed

public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach 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.WithPremiumAttach 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.WithPremiumAttach 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.WithPremiumAttach 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.WithPremiumAttach withOriginPath(String originPath)

Specifies the origin path.

Parameters:

originPath - an origin path

Returns:

the next stage of the definition

Applies to