Class ServiceTraffic


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

      • percent

        public java.util.Optional<java.lang.Integer> percent()
        Returns:
        Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
      • revision

        public java.util.Optional<java.lang.String> revision()
        Returns:
        Revision to which to send this portion of traffic, if traffic allocation is by revision.
      • tag

        public java.util.Optional<java.lang.String> tag()
        Returns:
        Indicates a string to be part of the URI to exclusively reference this target.
      • type

        public java.util.Optional<java.lang.String> type()
        Returns:
        The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.