Interface CdnEndpoint.UpdatePremiumEndpoint
- All Superinterfaces:
CdnEndpoint.Update
,Settable<CdnProfile.Update>
- Enclosing interface:
- CdnEndpoint
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
-
Method Summary
Modifier and TypeMethodDescriptionwithCustomDomain
(String hostName) Adds a new CDN custom domain within an endpoint.withHostHeader
(String hostHeader) Specifies the host header.withHttpAllowed
(boolean httpAllowed) Specifies if HTTP traffic is allowed.withHttpPort
(int httpPort) Specifies the port for HTTP traffic.withHttpsAllowed
(boolean httpsAllowed) Specifies if HTTPS traffic is allowed.withHttpsPort
(int httpsPort) Specifies the port for HTTPS traffic.withOriginPath
(String originPath) Specifies the origin path.withoutCustomDomain
(String hostName) Removes CDN custom domain within an endpoint.
-
Method Details
-
withOriginPath
Specifies the origin path.- Parameters:
originPath
- an origin path- Returns:
- the next stage of the endpoint update
-
withHostHeader
Specifies the host header.- Parameters:
hostHeader
- a host header- Returns:
- the next stage of the endpoint update
-
withHttpAllowed
Specifies if HTTP traffic is allowed.- Parameters:
httpAllowed
- if true then HTTP traffic will be allowed.- Returns:
- the next stage of the endpoint update
-
withHttpsAllowed
Specifies if HTTPS traffic is allowed.- Parameters:
httpsAllowed
- if true then HTTPS traffic will be allowed.- Returns:
- the next stage of the endpoint update
-
withHttpPort
Specifies the port for HTTP traffic.- Parameters:
httpPort
- a port number.- Returns:
- the next stage of the endpoint update
-
withHttpsPort
Specifies the port for HTTPS traffic.- Parameters:
httpsPort
- a port number.- Returns:
- the next stage of the endpoint update
-
withCustomDomain
Adds a new CDN custom domain within an endpoint.- Parameters:
hostName
- a custom domain host name.- Returns:
- the next stage of the endpoint update
-
withoutCustomDomain
Removes CDN custom domain within an endpoint.- Parameters:
hostName
- a custom domain host name.- Returns:
- the next stage of the endpoint update
-