Interface TransportStreamProgram.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransportStreamProgram.Builder,
,TransportStreamProgram> SdkBuilder<TransportStreamProgram.Builder,
,TransportStreamProgram> SdkPojo
- Enclosing class:
TransportStreamProgram
-
Method Summary
Modifier and TypeMethodDescriptionThe Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.programName
(String programName) The program name as it is reported in the Program Association Table.programNumber
(Integer programNumber) The program number as it is reported in the Program Association Table.programPid
(Integer programPid) The program Packet ID (PID) as it is reported in the Program Association Table.streams
(Collection<TransportStream> streams) The list of elementary transport streams in the program.streams
(Consumer<TransportStream.Builder>... streams) The list of elementary transport streams in the program.streams
(TransportStream... streams) The list of elementary transport streams in the program.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 Details
-
pcrPid
The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.
- Parameters:
pcrPid
- The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programName
The program name as it is reported in the Program Association Table.
- Parameters:
programName
- The program name as it is reported in the Program Association Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programNumber
The program number as it is reported in the Program Association Table.
- Parameters:
programNumber
- The program number as it is reported in the Program Association Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programPid
The program Packet ID (PID) as it is reported in the Program Association Table.
- Parameters:
programPid
- The program Packet ID (PID) as it is reported in the Program Association Table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The list of elementary transport streams in the program. The list includes video, audio, and data streams.
- Parameters:
streams
- The list of elementary transport streams in the program. The list includes video, audio, and data streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The list of elementary transport streams in the program. The list includes video, audio, and data streams.
- Parameters:
streams
- The list of elementary transport streams in the program. The list includes video, audio, and data streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The list of elementary transport streams in the program. The list includes video, audio, and data streams.
This is a convenience method that creates an instance of theTransportStream.Builder
avoiding the need to create one manually viaTransportStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(List<TransportStream>)
.- Parameters:
streams
- a consumer that will call methods onTransportStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-