Interface Sli.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Sli.Builder,,Sli> SdkBuilder<Sli.Builder,,Sli> SdkPojo
- Enclosing class:
Sli
@Mutable
@NotThreadSafe
public static interface Sli.Builder
extends SdkPojo, CopyableBuilder<Sli.Builder,Sli>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Sli.Builderevents(Consumer<SliEvents.Builder> events) Request-based: the share of events that were good, out of all events.Request-based: the share of events that were good, out of all events.default Sli.Builderperiods(Consumer<SliPeriods.Builder> periods) Time-slice: the share of periods that were good.periods(SliPeriods periods) Time-slice: the share of periods that were good.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
-
events
Request-based: the share of events that were good, out of all events.
- Parameters:
events- Request-based: the share of events that were good, out of all events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Request-based: the share of events that were good, out of all events.
This is a convenience method that creates an instance of theSliEvents.Builderavoiding the need to create one manually viaSliEvents.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(SliEvents).- Parameters:
events- a consumer that will call methods onSliEvents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
periods
Time-slice: the share of periods that were good.
- Parameters:
periods- Time-slice: the share of periods that were good.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periods
Time-slice: the share of periods that were good.
This is a convenience method that creates an instance of theSliPeriods.Builderavoiding the need to create one manually viaSliPeriods.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperiods(SliPeriods).- Parameters:
periods- a consumer that will call methods onSliPeriods.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-