Class MetricTargetPatchArgs.Builder

  • Enclosing class:
    MetricTargetPatchArgs

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

      • averageUtilization

        public MetricTargetPatchArgs.Builder averageUtilization​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> averageUtilization)
        Parameters:
        averageUtilization - averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
        Returns:
        builder
      • averageUtilization

        public MetricTargetPatchArgs.Builder averageUtilization​(java.lang.Integer averageUtilization)
        Parameters:
        averageUtilization - averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
        Returns:
        builder
      • averageValue

        public MetricTargetPatchArgs.Builder averageValue​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> averageValue)
        Parameters:
        averageValue - averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
        Returns:
        builder
      • averageValue

        public MetricTargetPatchArgs.Builder averageValue​(java.lang.String averageValue)
        Parameters:
        averageValue - averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
        Returns:
        builder
      • type

        public MetricTargetPatchArgs.Builder type​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - type represents whether the metric type is Utilization, Value, or AverageValue
        Returns:
        builder
      • type

        public MetricTargetPatchArgs.Builder type​(java.lang.String type)
        Parameters:
        type - type represents whether the metric type is Utilization, Value, or AverageValue
        Returns:
        builder
      • value

        public MetricTargetPatchArgs.Builder value​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> value)
        Parameters:
        value - value is the target value of the metric (as a quantity).
        Returns:
        builder
      • value

        public MetricTargetPatchArgs.Builder value​(java.lang.String value)
        Parameters:
        value - value is the target value of the metric (as a quantity).
        Returns:
        builder