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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressGatewayScalingTarget.BuilderautoScalingMetric(String autoScalingMetric)The metric used for auto-scaling decisions.ExpressGatewayScalingTarget.BuilderautoScalingMetric(ExpressGatewayServiceScalingMetric autoScalingMetric)The metric used for auto-scaling decisions.ExpressGatewayScalingTarget.BuilderautoScalingTargetValue(Integer autoScalingTargetValue)The target value for the auto-scaling metric.ExpressGatewayScalingTarget.BuildermaxTaskCount(Integer maxTaskCount)The maximum number of tasks to run in the Express service.ExpressGatewayScalingTarget.BuilderminTaskCount(Integer minTaskCount)The minimum number of tasks to run in the Express service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minTaskCount
ExpressGatewayScalingTarget.Builder minTaskCount(Integer 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
ExpressGatewayScalingTarget.Builder maxTaskCount(Integer 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
ExpressGatewayScalingTarget.Builder autoScalingMetric(String 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:
ExpressGatewayServiceScalingMetric,ExpressGatewayServiceScalingMetric
-
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:
ExpressGatewayServiceScalingMetric,ExpressGatewayServiceScalingMetric
-
autoScalingTargetValue
ExpressGatewayScalingTarget.Builder autoScalingTargetValue(Integer 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.
-
-