Interface StatsEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StatsEvent.Builder,,StatsEvent> SdkBuilder<StatsEvent.Builder,,StatsEvent> SdkPojo
- All Known Subinterfaces:
DefaultStats.Builder
- Enclosing class:
StatsEvent
@Mutable
@NotThreadSafe
public static interface StatsEvent.Builder
extends SdkPojo, CopyableBuilder<StatsEvent.Builder,StatsEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StatsEvent.Builderdetails(Consumer<Stats.Builder> details) The Stats event details.The Stats event details.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
-
details
The Stats event details.
- Parameters:
details- The Stats event details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The Stats event details.
This is a convenience method that creates an instance of theStats.Builderavoiding the need to create one manually viaStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(Stats).- Parameters:
details- a consumer that will call methods onStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-