Interface UsageFeatureResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UsageFeatureResult.Builder,
,UsageFeatureResult> SdkBuilder<UsageFeatureResult.Builder,
,UsageFeatureResult> SdkPojo
- Enclosing class:
UsageFeatureResult
public static interface UsageFeatureResult.Builder
extends SdkPojo, CopyableBuilder<UsageFeatureResult.Builder,UsageFeatureResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe feature that generated the usage cost.feature
(UsageFeature feature) The feature that generated the usage cost.default UsageFeatureResult.Builder
total
(Consumer<Total.Builder> total) Sets the value of the Total property for this object.Sets the value of the Total property for this object.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 Details
-
feature
The feature that generated the usage cost.
- Parameters:
feature
- The feature that generated the usage cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feature
The feature that generated the usage cost.
- Parameters:
feature
- The feature that generated the usage cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
total
Sets the value of the Total property for this object.- Parameters:
total
- The new value for the Total property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
Sets the value of the Total property for this object. This is a convenience method that creates an instance of theTotal.Builder
avoiding the need to create one manually viaTotal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tototal(Total)
.- Parameters:
total
- a consumer that will call methods onTotal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-