Interface QuotaShareCapacityUtilization.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuotaShareCapacityUtilization.Builder,,QuotaShareCapacityUtilization> SdkBuilder<QuotaShareCapacityUtilization.Builder,,QuotaShareCapacityUtilization> SdkPojo
- Enclosing class:
QuotaShareCapacityUtilization
@Mutable
@NotThreadSafe
public static interface QuotaShareCapacityUtilization.Builder
extends SdkPojo, CopyableBuilder<QuotaShareCapacityUtilization.Builder,QuotaShareCapacityUtilization>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityUsage(Collection<QuotaShareCapacityUsage> capacityUsage) The capacity usage information for this quota share, including the units of compute capacity and quantity being used.capacityUsage(Consumer<QuotaShareCapacityUsage.Builder>... capacityUsage) The capacity usage information for this quota share, including the units of compute capacity and quantity being used.capacityUsage(QuotaShareCapacityUsage... capacityUsage) The capacity usage information for this quota share, including the units of compute capacity and quantity being used.quotaShareName(String quotaShareName) The name of the quota share.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, sdkFieldNameToField, sdkFields
-
Method Details
-
capacityUsage
QuotaShareCapacityUtilization.Builder capacityUsage(Collection<QuotaShareCapacityUsage> capacityUsage) The capacity usage information for this quota share, including the units of compute capacity and quantity being used.
- Parameters:
capacityUsage- The capacity usage information for this quota share, including the units of compute capacity and quantity being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUsage
QuotaShareCapacityUtilization.Builder capacityUsage(Consumer<QuotaShareCapacityUsage.Builder>... capacityUsage) The capacity usage information for this quota share, including the units of compute capacity and quantity being used.
This is a convenience method that creates an instance of theQuotaShareCapacityUsage.Builderavoiding the need to create one manually viaQuotaShareCapacityUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityUsage(List<QuotaShareCapacityUsage>).- Parameters:
capacityUsage- a consumer that will call methods onQuotaShareCapacityUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also: