Interface CdnEndpoint.UpdatePremiumEndpoint

    • 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