Origin.Update Interface

Implements

public static interface Origin.Update
extends Settable<Update>

The entirety of an origin update inside an OriginGroup.Update flow.

Method Summary

Modifier and Type Method and Description
abstract Update withAzureOriginResourceId(String azureOriginResourceId)

Specifies the resource ID of an Azure origin resource.

abstract Update withEnabledState(EnabledState enabledState)

Specifies whether health probes should be enabled for this origin.

abstract Update withEnforceCertificateNameCheck(Boolean enforce)

Specifies whether certificate name check should be enforced at origin level.

abstract Update withHostname(String hostname)

Specifies the hostname (address) of the origin.

abstract Update withHttpPort(Integer httpPort)

Specifies the HTTP port for the origin.

abstract Update withHttpsPort(Integer httpsPort)

Specifies the HTTPS port for the origin.

abstract Update withOriginHostHeader(String originHostHeader)

Specifies the host header value sent to the origin with each request.

abstract Update withPriority(Integer priority)

Specifies the priority of this origin in the origin group for load balancing.

abstract Update withSharedPrivateLinkResource(SharedPrivateLinkResourceProperties sharedPrivateLinkResource)

Specifies the shared private link resource properties for a private origin.

abstract Update withWeight(Integer weight)

Specifies the weight of this origin in the origin group for load balancing.

Method Details

withAzureOriginResourceId

public abstract Origin.Update withAzureOriginResourceId(String azureOriginResourceId)

Specifies the resource ID of an Azure origin resource.

Parameters:

azureOriginResourceId - the Azure origin resource ID

Returns:

the next stage of the update

withEnabledState

public abstract Origin.Update withEnabledState(EnabledState enabledState)

Specifies whether health probes should be enabled for this origin.

Parameters:

enabledState - the enabled state

Returns:

the next stage of the update

withEnforceCertificateNameCheck

public abstract Origin.Update withEnforceCertificateNameCheck(Boolean enforce)

Specifies whether certificate name check should be enforced at origin level.

Parameters:

enforce - true to enforce certificate name check

Returns:

the next stage of the update

withHostname

public abstract Origin.Update withHostname(String hostname)

Specifies the hostname (address) of the origin.

Parameters:

hostname - the hostname of the origin

Returns:

the next stage of the update

withHttpPort

public abstract Origin.Update withHttpPort(Integer httpPort)

Specifies the HTTP port for the origin.

Parameters:

httpPort - the HTTP port (1\u201365535)

Returns:

the next stage of the update

withHttpsPort

public abstract Origin.Update withHttpsPort(Integer httpsPort)

Specifies the HTTPS port for the origin.

Parameters:

httpsPort - the HTTPS port (1\u201365535)

Returns:

the next stage of the update

withOriginHostHeader

public abstract Origin.Update withOriginHostHeader(String originHostHeader)

Specifies the host header value sent to the origin with each request.

Parameters:

originHostHeader - the origin host header

Returns:

the next stage of the update

withPriority

public abstract Origin.Update withPriority(Integer priority)

Specifies the priority of this origin in the origin group for load balancing.

Parameters:

priority - the priority (1\u20135)

Returns:

the next stage of the update

withSharedPrivateLinkResource

public abstract Origin.Update withSharedPrivateLinkResource(SharedPrivateLinkResourceProperties sharedPrivateLinkResource)

Specifies the shared private link resource properties for a private origin.

Parameters:

sharedPrivateLinkResource - the shared private link resource properties

Returns:

the next stage of the update

withWeight

public abstract Origin.Update withWeight(Integer weight)

Specifies the weight of this origin in the origin group for load balancing.

Parameters:

weight - the weight (1\u20131000)

Returns:

the next stage of the update

Applies to