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
Update |
withCustomDomain(String hostName)
Adds a new CDN custom domain within an endpoint. |
abstract
Update |
withHostHeader(String hostHeader)
Specifies the host header. |
abstract
Update |
withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed. |
abstract
Update |
withHttpPort(int httpPort)
Specifies the port for HTTP traffic. |
abstract
Update |
withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed. |
abstract
Update |
withHttpsPort(int httpsPort)
Specifies the port for HTTPS traffic. |
abstract
Update |
withOriginPath(String originPath)
Specifies the origin path. |
abstract
Update |
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:
Returns:
withHostHeader
public abstract CdnEndpoint.UpdatePremiumEndpoint withHostHeader(String hostHeader)
Specifies the host header.
Parameters:
Returns:
withHttpAllowed
public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed.
Parameters:
Returns:
withHttpPort
public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpPort(int httpPort)
Specifies the port for HTTP traffic.
Parameters:
Returns:
withHttpsAllowed
public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed.
Parameters:
Returns:
withHttpsPort
public abstract CdnEndpoint.UpdatePremiumEndpoint withHttpsPort(int httpsPort)
Specifies the port for HTTPS traffic.
Parameters:
Returns:
withOriginPath
public abstract CdnEndpoint.UpdatePremiumEndpoint withOriginPath(String originPath)
Specifies the origin path.
Parameters:
Returns:
withoutCustomDomain
public abstract CdnEndpoint.UpdatePremiumEndpoint withoutCustomDomain(String hostName)
Removes CDN custom domain within an endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java