Interface VideoBlock.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VideoBlock.Builder,,VideoBlock> SdkBuilder<VideoBlock.Builder,,VideoBlock> SdkPojo
- Enclosing class:
VideoBlock
@Mutable
@NotThreadSafe
public static interface VideoBlock.Builder
extends SdkPojo, CopyableBuilder<VideoBlock.Builder,VideoBlock>
-
Method Summary
Modifier and TypeMethodDescriptionThe block's format.format(VideoFormat format) The block's format.default VideoBlock.Buildersource(Consumer<VideoSource.Builder> source) The block's source.source(VideoSource source) The block's source.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
-
format
The block's format.
- Parameters:
format- The block's format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The block's format.
- Parameters:
format- The block's format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The block's source.
- Parameters:
source- The block's source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The block's source.
This is a convenience method that creates an instance of theVideoSource.Builderavoiding the need to create one manually viaVideoSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(VideoSource).- Parameters:
source- a consumer that will call methods onVideoSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-