Class ServiceTraffic


  • public final class ServiceTraffic
    extends java.lang.Object
    • Method Detail

      • latestRevision

        public java.util.Optional<java.lang.Boolean> latestRevision()
        Returns:
        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; it must be false when RevisionName is non-empty.
      • percent

        public java.lang.Integer percent()
        Returns:
        Percent specifies percent of the traffic to this Revision or Configuration.
      • revisionName

        public java.util.Optional<java.lang.String> revisionName()
        Returns:
        RevisionName of a specific revision to which to send this portion of traffic.
      • tag

        public java.util.Optional<java.lang.String> tag()
        Returns:
        Tag is optionally used to expose a dedicated url for referencing this target exclusively.
      • url

        public java.util.Optional<java.lang.String> url()
        Returns:
        (Output) URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)