Interface FrameSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FrameSettings.Builder,,FrameSettings> SdkBuilder<FrameSettings.Builder,,FrameSettings> SdkPojo
- Enclosing class:
FrameSettings
@Mutable
@NotThreadSafe
public static interface FrameSettings.Builder
extends SdkPojo, CopyableBuilder<FrameSettings.Builder,FrameSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FrameSettings.BuilderframeSampling(Consumer<FrameSamplingStrategy.Builder> frameSampling) The method for choosing which frames to send.frameSampling(FrameSamplingStrategy frameSampling) The method for choosing which frames to send.default FrameSettings.BuilderframeSize(Consumer<FrameSize.Builder> frameSize) The size to resize each frame to.The size to resize each frame to.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
-
frameSampling
The method for choosing which frames to send.
- Parameters:
frameSampling- The method for choosing which frames to send.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameSampling
The method for choosing which frames to send.
This is a convenience method that creates an instance of theFrameSamplingStrategy.Builderavoiding the need to create one manually viaFrameSamplingStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeSampling(FrameSamplingStrategy).- Parameters:
frameSampling- a consumer that will call methods onFrameSamplingStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameSize
The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request.
- Parameters:
frameSize- The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameSize
The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request.
This is a convenience method that creates an instance of theFrameSize.Builderavoiding the need to create one manually viaFrameSize.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeSize(FrameSize).- Parameters:
frameSize- a consumer that will call methods onFrameSize.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-