Class ObjectMetricSourcePatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2beta1.inputs.ObjectMetricSourcePatchArgs.Builder
-
- Enclosing class:
- ObjectMetricSourcePatchArgs
public static final class ObjectMetricSourcePatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ObjectMetricSourcePatchArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ObjectMetricSourcePatchArgs defaults)
-
-
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
-
target
public ObjectMetricSourcePatchArgs.Builder target(@Nullable com.pulumi.core.Output<CrossVersionObjectReferencePatchArgs> target)
- Parameters:
target
- target is the described Kubernetes object.- Returns:
- builder
-
target
public ObjectMetricSourcePatchArgs.Builder target(CrossVersionObjectReferencePatchArgs target)
- Parameters:
target
- target is the described Kubernetes object.- 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
-
build
public ObjectMetricSourcePatchArgs build()
-
-