Interface CapacitySize.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacitySize.Builder,CapacitySize>,SdkBuilder<CapacitySize.Builder,CapacitySize>,SdkPojo
- Enclosing class:
- CapacitySize
public static interface CapacitySize.Builder extends SdkPojo, CopyableBuilder<CapacitySize.Builder,CapacitySize>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacitySize.Buildertype(String type)Specifies the endpoint capacity type.CapacitySize.Buildertype(CapacitySizeType type)Specifies the endpoint capacity type.CapacitySize.Buildervalue(Integer value)Defines the capacity size, either as a number of instances or a capacity percentage.-
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
-
type
CapacitySize.Builder type(String type)
Specifies the endpoint capacity type.
-
INSTANCE_COUNT: The endpoint activates based on the number of instances. -
CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
- Parameters:
type- Specifies the endpoint capacity type.-
INSTANCE_COUNT: The endpoint activates based on the number of instances. -
CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacitySizeType,CapacitySizeType
-
-
type
CapacitySize.Builder type(CapacitySizeType type)
Specifies the endpoint capacity type.
-
INSTANCE_COUNT: The endpoint activates based on the number of instances. -
CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
- Parameters:
type- Specifies the endpoint capacity type.-
INSTANCE_COUNT: The endpoint activates based on the number of instances. -
CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacitySizeType,CapacitySizeType
-
-
value
CapacitySize.Builder value(Integer value)
Defines the capacity size, either as a number of instances or a capacity percentage.
- Parameters:
value- Defines the capacity size, either as a number of instances or a capacity percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-