Interface PreviewResultSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PreviewResultSummary.Builder,,PreviewResultSummary> SdkBuilder<PreviewResultSummary.Builder,,PreviewResultSummary> SdkPojo
- Enclosing class:
PreviewResultSummary
@Mutable
@NotThreadSafe
public static interface PreviewResultSummary.Builder
extends SdkPojo, CopyableBuilder<PreviewResultSummary.Builder,PreviewResultSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe key identifier for this preview result summary.default PreviewResultSummary.Buildertotal(Consumer<RulePreviewTotal.Builder> total) Sets the value of the Total property for this object.total(RulePreviewTotal total) Sets the value of the Total property for this object.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
-
key
The key identifier for this preview result summary.
- Parameters:
key- The key identifier for this preview result summary.- 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.- 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 theRulePreviewTotal.Builderavoiding the need to create one manually viaRulePreviewTotal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(RulePreviewTotal).- Parameters:
total- a consumer that will call methods onRulePreviewTotal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-