Interface TransportMediaInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransportMediaInfo.Builder,,TransportMediaInfo> SdkBuilder<TransportMediaInfo.Builder,,TransportMediaInfo> SdkPojo
- Enclosing class:
TransportMediaInfo
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.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, 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:
-