@Stability(value=Experimental) public static final class ScalableTargetProps.Builder extends Object implements software.amazon.jsii.Builder<ScalableTargetProps>
ScalableTargetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ScalableTargetProps |
build()
Builds the configured instance.
|
ScalableTargetProps.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
ScalableTargetProps.getMaxCapacity() |
ScalableTargetProps.Builder |
minCapacity(Number minCapacity)
Sets the value of
ScalableTargetProps.getMinCapacity() |
ScalableTargetProps.Builder |
resourceId(String resourceId)
Sets the value of
ScalableTargetProps.getResourceId() |
ScalableTargetProps.Builder |
role(IRole role)
Sets the value of
ScalableTargetProps.getRole() |
ScalableTargetProps.Builder |
scalableDimension(String scalableDimension)
Sets the value of
ScalableTargetProps.getScalableDimension() |
ScalableTargetProps.Builder |
serviceNamespace(ServiceNamespace serviceNamespace)
Sets the value of
ScalableTargetProps.getServiceNamespace() |
@Stability(value=Experimental) public ScalableTargetProps.Builder maxCapacity(Number maxCapacity)
ScalableTargetProps.getMaxCapacity()maxCapacity - The maximum value that Application Auto Scaling can use to scale a target during a scaling activity. This parameter is required.this@Stability(value=Experimental) public ScalableTargetProps.Builder minCapacity(Number minCapacity)
ScalableTargetProps.getMinCapacity()minCapacity - The minimum value that Application Auto Scaling can use to scale a target during a scaling activity. This parameter is required.this@Stability(value=Experimental) public ScalableTargetProps.Builder resourceId(String resourceId)
ScalableTargetProps.getResourceId()resourceId - The resource identifier to associate with this scalable target. This parameter is required.
This string consists of the resource type and unique identifier.this@Stability(value=Experimental) public ScalableTargetProps.Builder scalableDimension(String scalableDimension)
ScalableTargetProps.getScalableDimension()scalableDimension - The scalable dimension that's associated with the scalable target. This parameter is required.
Specify the service namespace, resource type, and scaling property.this@Stability(value=Experimental) public ScalableTargetProps.Builder serviceNamespace(ServiceNamespace serviceNamespace)
ScalableTargetProps.getServiceNamespace()serviceNamespace - The namespace of the AWS service that provides the resource or custom-resource for a resource provided by your own application or service. This parameter is required.
For valid AWS service namespace values, see the RegisterScalableTarget
action in the Application Auto Scaling API Reference.this@Stability(value=Experimental) public ScalableTargetProps.Builder role(IRole role)
ScalableTargetProps.getRole()role - Role that allows Application Auto Scaling to modify your scalable target.this@Stability(value=Experimental) public ScalableTargetProps build()
build in interface software.amazon.jsii.Builder<ScalableTargetProps>ScalableTargetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.