Interface ExpressGatewayScalingTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExpressGatewayScalingTarget.Builder,,ExpressGatewayScalingTarget> SdkBuilder<ExpressGatewayScalingTarget.Builder,,ExpressGatewayScalingTarget> SdkPojo
- Enclosing class:
ExpressGatewayScalingTarget
@Mutable
@NotThreadSafe
public static interface ExpressGatewayScalingTarget.Builder
extends SdkPojo, CopyableBuilder<ExpressGatewayScalingTarget.Builder,ExpressGatewayScalingTarget>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingMetric(String autoScalingMetric) The metric used for auto-scaling decisions.autoScalingMetric(ExpressGatewayServiceScalingMetric autoScalingMetric) The metric used for auto-scaling decisions.autoScalingTargetValue(Integer autoScalingTargetValue) The target value for the auto-scaling metric.maxTaskCount(Integer maxTaskCount) The maximum number of tasks to run in the Express service.minTaskCount(Integer minTaskCount) The minimum number of tasks to run in the Express service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minTaskCount
The minimum number of tasks to run in the Express service.
- Parameters:
minTaskCount- The minimum number of tasks to run in the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxTaskCount
The maximum number of tasks to run in the Express service.
- Parameters:
maxTaskCount- The maximum number of tasks to run in the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingMetric
The metric used for auto-scaling decisions. The default metric used for an Express service is
CPUUtilization.- Parameters:
autoScalingMetric- The metric used for auto-scaling decisions. The default metric used for an Express service isCPUUtilization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoScalingMetric
ExpressGatewayScalingTarget.Builder autoScalingMetric(ExpressGatewayServiceScalingMetric autoScalingMetric) The metric used for auto-scaling decisions. The default metric used for an Express service is
CPUUtilization.- Parameters:
autoScalingMetric- The metric used for auto-scaling decisions. The default metric used for an Express service isCPUUtilization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoScalingTargetValue
The target value for the auto-scaling metric. The default value for an Express service is 60.
- Parameters:
autoScalingTargetValue- The target value for the auto-scaling metric. The default value for an Express service is 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-