@Stability(value=Stable) public static final class CfnEndpoint.CapacitySizeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.CapacitySizeProperty>
CfnEndpoint.CapacitySizeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint.CapacitySizeProperty |
build()
Builds the configured instance.
|
CfnEndpoint.CapacitySizeProperty.Builder |
type(String type)
Sets the value of
CfnEndpoint.CapacitySizeProperty.getType() |
CfnEndpoint.CapacitySizeProperty.Builder |
value(Number value)
Sets the value of
CfnEndpoint.CapacitySizeProperty.getValue() |
@Stability(value=Stable) public CfnEndpoint.CapacitySizeProperty.Builder type(String type)
CfnEndpoint.CapacitySizeProperty.getType()type - Specifies the endpoint capacity type. This parameter is required.
INSTANCE_COUNT : The endpoint activates based on the number of instances.CAPACITY_PERCENT : The endpoint activates based on the specified percentage of capacity.this@Stability(value=Stable) public CfnEndpoint.CapacitySizeProperty.Builder value(Number value)
CfnEndpoint.CapacitySizeProperty.getValue()value - Defines the capacity size, either as a number of instances or a capacity percentage. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.CapacitySizeProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.CapacitySizeProperty>CfnEndpoint.CapacitySizePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.