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