Interface TrafficConfig


public interface TrafficConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.
    Percent indicates that percentage based routing should be used and the value indicates the percent of traffic that is to be routed to this Revision or Configuration. `0` (zero) mean no traffic, `100` means all traffic.
    RevisionName of a specific revision to which to send this portion of traffic.
    tag()
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
  • Method Details

    • tag

      Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    • revisionName

      Optional<String> revisionName()
      RevisionName of a specific revision to which to send this portion of traffic.
    • latestRevision

      @WithDefault("false") Optional<Boolean> latestRevision()
      LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty.
    • percent

      @WithDefault("100") Optional<Long> percent()
      Percent indicates that percentage based routing should be used and the value indicates the percent of traffic that is to be routed to this Revision or Configuration. `0` (zero) mean no traffic, `100` means all traffic.