Interface CdnEndpoint.UpdatePremiumEndpoint
-
- All Superinterfaces:
CdnEndpoint.Update,Settable<CdnProfile.Update>
- Enclosing interface:
- CdnEndpoint
public static interface CdnEndpoint.UpdatePremiumEndpoint extends CdnEndpoint.Update
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CdnEndpoint.UpdatePremiumEndpointwithCustomDomain(String hostName)Adds a new CDN custom domain within an endpoint.CdnEndpoint.UpdatePremiumEndpointwithHostHeader(String hostHeader)Specifies the host header.CdnEndpoint.UpdatePremiumEndpointwithHttpAllowed(boolean httpAllowed)Specifies if HTTP traffic is allowed.CdnEndpoint.UpdatePremiumEndpointwithHttpPort(int httpPort)Specifies the port for HTTP traffic.CdnEndpoint.UpdatePremiumEndpointwithHttpsAllowed(boolean httpsAllowed)Specifies if HTTPS traffic is allowed.CdnEndpoint.UpdatePremiumEndpointwithHttpsPort(int httpsPort)Specifies the port for HTTPS traffic.CdnEndpoint.UpdatePremiumEndpointwithOriginPath(String originPath)Specifies the origin path.CdnEndpoint.UpdatePremiumEndpointwithoutCustomDomain(String hostName)Removes CDN custom domain within an endpoint.
-
-
-
Method Detail
-
withOriginPath
CdnEndpoint.UpdatePremiumEndpoint withOriginPath(String originPath)
Specifies the origin path.- Parameters:
originPath- an origin path- Returns:
- the next stage of the endpoint update
-
withHostHeader
CdnEndpoint.UpdatePremiumEndpoint withHostHeader(String hostHeader)
Specifies the host header.- Parameters:
hostHeader- a host header- Returns:
- the next stage of the endpoint update
-
withHttpAllowed
CdnEndpoint.UpdatePremiumEndpoint 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 endpoint update
-
withHttpsAllowed
CdnEndpoint.UpdatePremiumEndpoint 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 endpoint update
-
withHttpPort
CdnEndpoint.UpdatePremiumEndpoint withHttpPort(int httpPort)
Specifies the port for HTTP traffic.- Parameters:
httpPort- a port number.- Returns:
- the next stage of the endpoint update
-
withHttpsPort
CdnEndpoint.UpdatePremiumEndpoint withHttpsPort(int httpsPort)
Specifies the port for HTTPS traffic.- Parameters:
httpsPort- a port number.- Returns:
- the next stage of the endpoint update
-
withCustomDomain
CdnEndpoint.UpdatePremiumEndpoint withCustomDomain(String hostName)
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
CdnEndpoint.UpdatePremiumEndpoint withoutCustomDomain(String hostName)
Removes CDN custom domain within an endpoint.- Parameters:
hostName- a custom domain host name.- Returns:
- the next stage of the endpoint update
-
-