Interface TransportMediaInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransportMediaInfo.Builder,,TransportMediaInfo> SdkBuilder<TransportMediaInfo.Builder,,TransportMediaInfo> SdkPojo
- Enclosing class:
TransportMediaInfo
@Mutable
@NotThreadSafe
public static interface TransportMediaInfo.Builder
extends SdkPojo, CopyableBuilder<TransportMediaInfo.Builder,TransportMediaInfo>
-
Method Summary
Modifier and TypeMethodDescriptionprograms(Collection<TransportStreamProgram> programs) The list of transport stream programs in the current flow's source.programs(Consumer<TransportStreamProgram.Builder>... programs) The list of transport stream programs in the current flow's source.programs(TransportStreamProgram... programs) The list of transport stream programs in the current flow's source.The transport stream ID (TSID) of the source, from the Program Association Table (PAT).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
-
programs
The list of transport stream programs in the current flow's source.
- Parameters:
programs- The list of transport stream programs in the current flow's source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programs
The list of transport stream programs in the current flow's source.
- Parameters:
programs- The list of transport stream programs in the current flow's source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programs
The list of transport stream programs in the current flow's source.
This is a convenience method that creates an instance of theTransportStreamProgram.Builderavoiding the need to create one manually viaTransportStreamProgram.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprograms(List<TransportStreamProgram>).- Parameters:
programs- a consumer that will call methods onTransportStreamProgram.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tsId
The transport stream ID (TSID) of the source, from the Program Association Table (PAT).
- Parameters:
tsId- The transport stream ID (TSID) of the source, from the Program Association Table (PAT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-