Class ServiceTrafficArgs.Builder

  • Enclosing class:
    ServiceTrafficArgs

    public static final class ServiceTrafficArgs.Builder
    extends java.lang.Object
    • Method Detail

      • percent

        public ServiceTrafficArgs.Builder percent​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> percent)
        Parameters:
        percent - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
        Returns:
        builder
      • percent

        public ServiceTrafficArgs.Builder percent​(java.lang.Integer percent)
        Parameters:
        percent - Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
        Returns:
        builder
      • revision

        public ServiceTrafficArgs.Builder revision​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> revision)
        Parameters:
        revision - Revision to which to send this portion of traffic, if traffic allocation is by revision.
        Returns:
        builder
      • revision

        public ServiceTrafficArgs.Builder revision​(java.lang.String revision)
        Parameters:
        revision - Revision to which to send this portion of traffic, if traffic allocation is by revision.
        Returns:
        builder
      • tag

        public ServiceTrafficArgs.Builder tag​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> tag)
        Parameters:
        tag - Indicates a string to be part of the URI to exclusively reference this target.
        Returns:
        builder
      • tag

        public ServiceTrafficArgs.Builder tag​(java.lang.String tag)
        Parameters:
        tag - Indicates a string to be part of the URI to exclusively reference this target.
        Returns:
        builder
      • type

        public ServiceTrafficArgs.Builder type​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
        Returns:
        builder
      • type

        public ServiceTrafficArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
        Returns:
        builder