Class ObjectMetricSourcePatchArgs.Builder

    • Method Detail

      • averageValue

        public ObjectMetricSourcePatchArgs.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 ObjectMetricSourcePatchArgs.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
      • metricName

        public ObjectMetricSourcePatchArgs.Builder metricName​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> metricName)
        Parameters:
        metricName - metricName is the name of the metric in question.
        Returns:
        builder
      • metricName

        public ObjectMetricSourcePatchArgs.Builder metricName​(java.lang.String metricName)
        Parameters:
        metricName - metricName is the name of the metric in question.
        Returns:
        builder
      • selector

        public ObjectMetricSourcePatchArgs.Builder selector​(@Nullable
                                                            com.pulumi.core.Output<LabelSelectorPatchArgs> selector)
        Parameters:
        selector - selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
        Returns:
        builder
      • selector

        public ObjectMetricSourcePatchArgs.Builder selector​(LabelSelectorPatchArgs selector)
        Parameters:
        selector - selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
        Returns:
        builder
      • targetValue

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

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