@Stability(value=Stable) public static final class ScalableTaskCountProps.Builder extends Object implements software.amazon.jsii.Builder<ScalableTaskCountProps>
ScalableTaskCountProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScalableTaskCountProps |
build()
Builds the configured instance.
|
ScalableTaskCountProps.Builder |
dimension(String dimension)
Sets the value of
BaseScalableAttributeProps.getDimension() |
ScalableTaskCountProps.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
EnableScalingProps.getMaxCapacity() |
ScalableTaskCountProps.Builder |
minCapacity(Number minCapacity)
Sets the value of
EnableScalingProps.getMinCapacity() |
ScalableTaskCountProps.Builder |
resourceId(String resourceId)
Sets the value of
BaseScalableAttributeProps.getResourceId() |
ScalableTaskCountProps.Builder |
role(IRole role)
Sets the value of
BaseScalableAttributeProps.getRole() |
ScalableTaskCountProps.Builder |
serviceNamespace(ServiceNamespace serviceNamespace)
Sets the value of
BaseScalableAttributeProps.getServiceNamespace() |
@Stability(value=Stable) public ScalableTaskCountProps.Builder dimension(String dimension)
BaseScalableAttributeProps.getDimension()
dimension
- Scalable dimension of the attribute. This parameter is required.this
@Stability(value=Stable) public ScalableTaskCountProps.Builder resourceId(String resourceId)
BaseScalableAttributeProps.getResourceId()
resourceId
- Resource ID of the attribute. This parameter is required.this
@Stability(value=Stable) public ScalableTaskCountProps.Builder role(IRole role)
BaseScalableAttributeProps.getRole()
role
- Role to use for scaling. This parameter is required.this
@Stability(value=Stable) public ScalableTaskCountProps.Builder serviceNamespace(ServiceNamespace serviceNamespace)
BaseScalableAttributeProps.getServiceNamespace()
serviceNamespace
- Service namespace of the scalable attribute. This parameter is required.this
@Stability(value=Stable) public ScalableTaskCountProps.Builder maxCapacity(Number maxCapacity)
EnableScalingProps.getMaxCapacity()
maxCapacity
- Maximum capacity to scale to. This parameter is required.this
@Stability(value=Stable) public ScalableTaskCountProps.Builder minCapacity(Number minCapacity)
EnableScalingProps.getMinCapacity()
minCapacity
- Minimum capacity to scale to.this
@Stability(value=Stable) public ScalableTaskCountProps build()
build
in interface software.amazon.jsii.Builder<ScalableTaskCountProps>
ScalableTaskCountProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.