Class PodsMetricStatusArgs.Builder

  • Enclosing class:
    PodsMetricStatusArgs

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

      • currentAverageValue

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

        public PodsMetricStatusArgs.Builder currentAverageValue​(java.lang.String currentAverageValue)
        Parameters:
        currentAverageValue - currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
        Returns:
        builder
      • metricName

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

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

        public PodsMetricStatusArgs.Builder selector​(@Nullable
                                                     com.pulumi.core.Output<LabelSelectorArgs> selector)
        Parameters:
        selector - selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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 PodsMetricStatusArgs.Builder selector​(LabelSelectorArgs selector)
        Parameters:
        selector - selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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