Interface FrameSamplingStrategy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FrameSamplingStrategy.Builder,,FrameSamplingStrategy> SdkBuilder<FrameSamplingStrategy.Builder,,FrameSamplingStrategy> SdkPojo
- Enclosing class:
FrameSamplingStrategy
@Mutable
@NotThreadSafe
public static interface FrameSamplingStrategy.Builder
extends SdkPojo, CopyableBuilder<FrameSamplingStrategy.Builder,FrameSamplingStrategy>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of frames to send on each run.Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).mode(FrameSamplingMode mode) Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).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
-
mode
Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).
- Parameters:
mode- Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).
- Parameters:
mode- Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
count
The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.
- Parameters:
count- The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-