Interface Capacity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Capacity.Builder,
,Capacity> SdkBuilder<Capacity.Builder,
,Capacity> SdkPojo
- Enclosing class:
Capacity
@Mutable
@NotThreadSafe
public static interface Capacity.Builder
extends SdkPojo, CopyableBuilder<Capacity.Builder,Capacity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Capacity.Builder
autoScaling
(Consumer<AutoScaling.Builder> autoScaling) Information about the auto scaling parameters for the connector.autoScaling
(AutoScaling autoScaling) Information about the auto scaling parameters for the connector.default Capacity.Builder
provisionedCapacity
(Consumer<ProvisionedCapacity.Builder> provisionedCapacity) Details about a fixed capacity allocated to a connector.provisionedCapacity
(ProvisionedCapacity provisionedCapacity) Details about a fixed capacity allocated to a connector.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 Details
-
autoScaling
Information about the auto scaling parameters for the connector.
- Parameters:
autoScaling
- Information about the auto scaling parameters for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScaling
Information about the auto scaling parameters for the connector.
This is a convenience method that creates an instance of theAutoScaling.Builder
avoiding the need to create one manually viaAutoScaling.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoScaling(AutoScaling)
.- Parameters:
autoScaling
- a consumer that will call methods onAutoScaling.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionedCapacity
Details about a fixed capacity allocated to a connector.
- Parameters:
provisionedCapacity
- Details about a fixed capacity allocated to a connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedCapacity
default Capacity.Builder provisionedCapacity(Consumer<ProvisionedCapacity.Builder> provisionedCapacity) Details about a fixed capacity allocated to a connector.
This is a convenience method that creates an instance of theProvisionedCapacity.Builder
avoiding the need to create one manually viaProvisionedCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedCapacity(ProvisionedCapacity)
.- Parameters:
provisionedCapacity
- a consumer that will call methods onProvisionedCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-