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