Interface CdnEndpoint.UpdateStandardEndpoint

    • Method Detail

      • withOriginPath

        CdnEndpoint.UpdateStandardEndpoint withOriginPath​(String originPath)
        Specifies the origin path.
        Parameters:
        originPath - an origin path
        Returns:
        the next stage of the endpoint update
      • withHostHeader

        CdnEndpoint.UpdateStandardEndpoint withHostHeader​(String hostHeader)
        Specifies the host header.
        Parameters:
        hostHeader - a host header.
        Returns:
        the next stage of the endpoint update
      • withHttpAllowed

        CdnEndpoint.UpdateStandardEndpoint 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.UpdateStandardEndpoint 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.UpdateStandardEndpoint withHttpPort​(int httpPort)
        Specifies the port for HTTP traffic.
        Parameters:
        httpPort - a port number.
        Returns:
        the next stage of the endpoint update
      • withHttpsPort

        CdnEndpoint.UpdateStandardEndpoint withHttpsPort​(int httpsPort)
        Specifies the port for HTTP traffic.
        Parameters:
        httpsPort - a port number.
        Returns:
        the next stage of the endpoint update
      • withContentTypesToCompress

        CdnEndpoint.UpdateStandardEndpoint withContentTypesToCompress​(Set<String> contentTypesToCompress)
        Specifies the content types to compress.
        Parameters:
        contentTypesToCompress - content types to compress to set
        Returns:
        the next stage of the definition
      • withoutContentTypesToCompress

        CdnEndpoint.UpdateStandardEndpoint withoutContentTypesToCompress()
        Clears entire list of content types to compress.
        Returns:
        the next stage of the endpoint update
      • withContentTypeToCompress

        CdnEndpoint.UpdateStandardEndpoint withContentTypeToCompress​(String contentTypeToCompress)
        Specifies a single content type to compress.
        Parameters:
        contentTypeToCompress - a single content type to compress to add to the list
        Returns:
        the next stage of the definition
      • withoutContentTypeToCompress

        CdnEndpoint.UpdateStandardEndpoint withoutContentTypeToCompress​(String contentTypeToCompress)
        Removes the content type to compress from the list.
        Parameters:
        contentTypeToCompress - a single content type to remove from the list
        Returns:
        the next stage of the endpoint update
      • withCompressionEnabled

        CdnEndpoint.UpdateStandardEndpoint withCompressionEnabled​(boolean compressionEnabled)
        Sets the compression state.
        Parameters:
        compressionEnabled - if true then compression will be enabled
        Returns:
        the next stage of the definition
      • withQueryStringCachingBehavior

        CdnEndpoint.UpdateStandardEndpoint withQueryStringCachingBehavior​(QueryStringCachingBehavior cachingBehavior)
        Sets the query string caching behavior.
        Parameters:
        cachingBehavior - the query string caching behavior value to set
        Returns:
        the next stage of the definition
      • withoutGeoFilter

        CdnEndpoint.UpdateStandardEndpoint withoutGeoFilter​(String relativePath)
        Removes an entry from the geo filters list.
        Parameters:
        relativePath - a relative path
        Returns:
        the next stage of the endpoint update
      • withCustomDomain

        CdnEndpoint.UpdateStandardEndpoint withCustomDomain​(String hostName)
        Adds a new CDN custom domain within an endpoint.
        Parameters:
        hostName - custom domain host name
        Returns:
        the next stage of the endpoint update
      • withoutCustomDomain

        CdnEndpoint.UpdateStandardEndpoint 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