Interface InstanceUsage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceUsage.Builder,InstanceUsage>,SdkBuilder<InstanceUsage.Builder,InstanceUsage>,SdkPojo
- Enclosing class:
- InstanceUsage
public static interface InstanceUsage.Builder extends SdkPojo, CopyableBuilder<InstanceUsage.Builder,InstanceUsage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceUsage.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that is making use of the Capacity Reservation.InstanceUsage.BuilderusedInstanceCount(Integer usedInstanceCount)The number of instances the Amazon Web Services account currently has in the Capacity Reservation.-
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, sdkFields
-
-
-
-
Method Detail
-
accountId
InstanceUsage.Builder accountId(String accountId)
The ID of the Amazon Web Services account that is making use of the Capacity Reservation.
- Parameters:
accountId- The ID of the Amazon Web Services account that is making use of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usedInstanceCount
InstanceUsage.Builder usedInstanceCount(Integer usedInstanceCount)
The number of instances the Amazon Web Services account currently has in the Capacity Reservation.
- Parameters:
usedInstanceCount- The number of instances the Amazon Web Services account currently has in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-