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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaShareCapacityUtilization.BuildercapacityUsage(Collection<QuotaShareCapacityUsage> capacityUsage)The capacity usage information for this quota share, including the units of compute capacity and quantity being used.QuotaShareCapacityUtilization.BuildercapacityUsage(Consumer<QuotaShareCapacityUsage.Builder>... capacityUsage)The capacity usage information for this quota share, including the units of compute capacity and quantity being used.QuotaShareCapacityUtilization.BuildercapacityUsage(QuotaShareCapacityUsage... capacityUsage)The capacity usage information for this quota share, including the units of compute capacity and quantity being used.QuotaShareCapacityUtilization.BuilderquotaShareName(String quotaShareName)The name of the quota share.-
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
-
quotaShareName
QuotaShareCapacityUtilization.Builder quotaShareName(String quotaShareName)
The name of the quota share.
- Parameters:
quotaShareName- The name of the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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(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 to#capacityUsage(List.) - 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:
#capacityUsage(java.util.Collection)
-
-