Class PodsMetricStatusArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2beta1.inputs.PodsMetricStatusArgs.Builder
-
- Enclosing class:
- PodsMetricStatusArgs
public static final class PodsMetricStatusArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PodsMetricStatusArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodsMetricStatusArgs
build()
PodsMetricStatusArgs.Builder
currentAverageValue(com.pulumi.core.Output<java.lang.String> currentAverageValue)
PodsMetricStatusArgs.Builder
currentAverageValue(java.lang.String currentAverageValue)
PodsMetricStatusArgs.Builder
metricName(com.pulumi.core.Output<java.lang.String> metricName)
PodsMetricStatusArgs.Builder
metricName(java.lang.String metricName)
PodsMetricStatusArgs.Builder
selector(com.pulumi.core.Output<LabelSelectorArgs> selector)
PodsMetricStatusArgs.Builder
selector(LabelSelectorArgs selector)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PodsMetricStatusArgs defaults)
-
-
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
-
build
public PodsMetricStatusArgs build()
-
-