Interface Capacity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Capacity.Builder,,Capacity> SdkBuilder<Capacity.Builder,,Capacity> SdkPojo
- Enclosing class:
Capacity
public static interface Capacity.Builder
extends SdkPojo, CopyableBuilder<Capacity.Builder,Capacity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Capacity.BuilderautoScaling(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.BuilderprovisionedCapacity(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaAutoScaling.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaProvisionedCapacity.builder().When the
Consumercompletes,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:
-