Class MetricTargetPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2.inputs.MetricTargetPatchArgs.Builder
-
- Enclosing class:
- MetricTargetPatchArgs
public static final class MetricTargetPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(MetricTargetPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricTargetPatchArgs.Builder
averageUtilization(com.pulumi.core.Output<java.lang.Integer> averageUtilization)
MetricTargetPatchArgs.Builder
averageUtilization(java.lang.Integer averageUtilization)
MetricTargetPatchArgs.Builder
averageValue(com.pulumi.core.Output<java.lang.String> averageValue)
MetricTargetPatchArgs.Builder
averageValue(java.lang.String averageValue)
MetricTargetPatchArgs
build()
MetricTargetPatchArgs.Builder
type(com.pulumi.core.Output<java.lang.String> type)
MetricTargetPatchArgs.Builder
type(java.lang.String type)
MetricTargetPatchArgs.Builder
value(com.pulumi.core.Output<java.lang.String> value)
MetricTargetPatchArgs.Builder
value(java.lang.String value)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MetricTargetPatchArgs defaults)
-
-
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
-
build
public MetricTargetPatchArgs build()
-
-