Interface NdiMediaInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NdiMediaInfo.Builder,,NdiMediaInfo> SdkBuilder<NdiMediaInfo.Builder,,NdiMediaInfo> SdkPojo
- Enclosing class:
NdiMediaInfo
@Mutable
@NotThreadSafe
public static interface NdiMediaInfo.Builder
extends SdkPojo, CopyableBuilder<NdiMediaInfo.Builder,NdiMediaInfo>
-
Method Summary
Modifier and TypeMethodDescriptionstreams(Collection<NdiMediaStreamInfo> streams) A list of the individual media streams that make up the NDI source.streams(Consumer<NdiMediaStreamInfo.Builder>... streams) A list of the individual media streams that make up the NDI source.streams(NdiMediaStreamInfo... streams) A list of the individual media streams that make up the NDI 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
-
streams
A list of the individual media streams that make up the NDI source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
- Parameters:
streams- A list of the individual media streams that make up the NDI source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
A list of the individual media streams that make up the NDI source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
- Parameters:
streams- A list of the individual media streams that make up the NDI source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
A list of the individual media streams that make up the NDI source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
This is a convenience method that creates an instance of theNdiMediaStreamInfo.Builderavoiding the need to create one manually viaNdiMediaStreamInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreams(List<NdiMediaStreamInfo>).- Parameters:
streams- a consumer that will call methods onNdiMediaStreamInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-