Interface CdnEndpoint.UpdateStandardEndpoint

All Superinterfaces:
CdnEndpoint.Update, Settable<CdnProfile.Update>
Enclosing interface:
CdnEndpoint

public static interface CdnEndpoint.UpdateStandardEndpoint extends CdnEndpoint.Update
The stage of an CDN profile endpoint update allowing to specify endpoint properties.
  • Method Details

    • 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
    • withGeoFilters

      Specifies the geo filters to use.
      Parameters:
      geoFilters - geo filters
      Returns:
      the next stage of the definition
    • withoutGeoFilters

      Clears entire geo filters list.
      Returns:
      the next stage of the endpoint update
    • withGeoFilter

      CdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, CountryIsoCode countryCode)
      Adds a single entry to the Geo filters list.
      Parameters:
      relativePath - a relative path
      action - an action
      countryCode - an ISO 2 letter country code
      Returns:
      the next stage of the definition
    • withGeoFilter

      CdnEndpoint.UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes)
      Sets the geo filters list for the specified countries list.
      Parameters:
      relativePath - a relative path
      action - an action
      countryCodes - a list of ISO 2 letter country codes
      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