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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VideoBlock.Builderformat(String format)The block's format.VideoBlock.Builderformat(VideoFormat format)The block's format.default VideoBlock.Buildersource(Consumer<VideoSource.Builder> source)The block's source.VideoBlock.Buildersource(VideoSource source)The block's source.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
format
VideoBlock.Builder format(String 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:
VideoFormat,VideoFormat
-
format
VideoBlock.Builder format(VideoFormat 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:
VideoFormat,VideoFormat
-
source
VideoBlock.Builder source(VideoSource 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
default VideoBlock.Builder source(Consumer<VideoSource.Builder> 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:
source(VideoSource)
-
-