Interface SingleProgramTransportStreamPidMapConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SingleProgramTransportStreamPidMapConfiguration.Builder,,SingleProgramTransportStreamPidMapConfiguration> SdkBuilder<SingleProgramTransportStreamPidMapConfiguration.Builder,,SingleProgramTransportStreamPidMapConfiguration> SdkPojo
- Enclosing class:
SingleProgramTransportStreamPidMapConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe settings for automatic Packet ID (PID) assignment.auto(AutoPidMapConfiguration auto) The settings for automatic Packet ID (PID) assignment.defaultAction(String defaultAction) The action to apply to an elementary stream that doesn't match any rule.programClockReferencePid(Consumer<ProgramClockReferencePidConfiguration.Builder> programClockReferencePid) The Program Clock Reference (PCR) PID settings for the router output.programClockReferencePid(ProgramClockReferencePidConfiguration programClockReferencePid) The Program Clock Reference (PCR) PID settings for the router output.programMapTablePid(Consumer<ProgramMapTablePidConfiguration.Builder> programMapTablePid) The Program Map Table (PMT) PID settings for the router output.programMapTablePid(ProgramMapTablePidConfiguration programMapTablePid) The Program Map Table (PMT) PID settings for the router output.programNumber(Consumer<ProgramNumberConfiguration.Builder> programNumber) The program number settings for the router output.programNumber(ProgramNumberConfiguration programNumber) The program number settings for the router output.rules(Collection<PidMapRule> rules) The ordered list of up to 32 rules that determine the action for each elementary stream.rules(Consumer<PidMapRule.Builder>... rules) The ordered list of up to 32 rules that determine the action for each elementary stream.rules(PidMapRule... rules) The ordered list of up to 32 rules that determine the action for each elementary stream.transportStreamId(Consumer<TransportStreamIdConfiguration.Builder> transportStreamId) The transport stream ID (TSID) settings for the router output.transportStreamId(TransportStreamIdConfiguration transportStreamId) The transport stream ID (TSID) settings for the router output.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
-
rules
The ordered list of up to 32 rules that determine the action for each elementary stream. MediaConnect applies the first rule that matches.
- Parameters:
rules- The ordered list of up to 32 rules that determine the action for each elementary stream. MediaConnect applies the first rule that matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The ordered list of up to 32 rules that determine the action for each elementary stream. MediaConnect applies the first rule that matches.
- Parameters:
rules- The ordered list of up to 32 rules that determine the action for each elementary stream. MediaConnect applies the first rule that matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
SingleProgramTransportStreamPidMapConfiguration.Builder rules(Consumer<PidMapRule.Builder>... rules) The ordered list of up to 32 rules that determine the action for each elementary stream. MediaConnect applies the first rule that matches.
This is a convenience method that creates an instance of thePidMapRule.Builderavoiding the need to create one manually viaPidMapRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<PidMapRule>).- Parameters:
rules- a consumer that will call methods onPidMapRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultAction
The action to apply to an elementary stream that doesn't match any rule.
- Parameters:
defaultAction- The action to apply to an elementary stream that doesn't match any rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportStreamId
SingleProgramTransportStreamPidMapConfiguration.Builder transportStreamId(TransportStreamIdConfiguration transportStreamId) The transport stream ID (TSID) settings for the router output. By default, the router output passes through the TSID from the source.
- Parameters:
transportStreamId- The transport stream ID (TSID) settings for the router output. By default, the router output passes through the TSID from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportStreamId
default SingleProgramTransportStreamPidMapConfiguration.Builder transportStreamId(Consumer<TransportStreamIdConfiguration.Builder> transportStreamId) The transport stream ID (TSID) settings for the router output. By default, the router output passes through the TSID from the source.
This is a convenience method that creates an instance of theTransportStreamIdConfiguration.Builderavoiding the need to create one manually viaTransportStreamIdConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransportStreamId(TransportStreamIdConfiguration).- Parameters:
transportStreamId- a consumer that will call methods onTransportStreamIdConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
programNumber
SingleProgramTransportStreamPidMapConfiguration.Builder programNumber(ProgramNumberConfiguration programNumber) The program number settings for the router output. By default, the router output passes through the program number from the source.
- Parameters:
programNumber- The program number settings for the router output. By default, the router output passes through the program number from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programNumber
default SingleProgramTransportStreamPidMapConfiguration.Builder programNumber(Consumer<ProgramNumberConfiguration.Builder> programNumber) The program number settings for the router output. By default, the router output passes through the program number from the source.
This is a convenience method that creates an instance of theProgramNumberConfiguration.Builderavoiding the need to create one manually viaProgramNumberConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprogramNumber(ProgramNumberConfiguration).- Parameters:
programNumber- a consumer that will call methods onProgramNumberConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
programMapTablePid
SingleProgramTransportStreamPidMapConfiguration.Builder programMapTablePid(ProgramMapTablePidConfiguration programMapTablePid) The Program Map Table (PMT) PID settings for the router output. By default, the router output passes through the PMT PID from the source.
- Parameters:
programMapTablePid- The Program Map Table (PMT) PID settings for the router output. By default, the router output passes through the PMT PID from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programMapTablePid
default SingleProgramTransportStreamPidMapConfiguration.Builder programMapTablePid(Consumer<ProgramMapTablePidConfiguration.Builder> programMapTablePid) The Program Map Table (PMT) PID settings for the router output. By default, the router output passes through the PMT PID from the source.
This is a convenience method that creates an instance of theProgramMapTablePidConfiguration.Builderavoiding the need to create one manually viaProgramMapTablePidConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprogramMapTablePid(ProgramMapTablePidConfiguration).- Parameters:
programMapTablePid- a consumer that will call methods onProgramMapTablePidConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
programClockReferencePid
SingleProgramTransportStreamPidMapConfiguration.Builder programClockReferencePid(ProgramClockReferencePidConfiguration programClockReferencePid) The Program Clock Reference (PCR) PID settings for the router output. By default, the router output passes through the PCR PID from the source.
- Parameters:
programClockReferencePid- The Program Clock Reference (PCR) PID settings for the router output. By default, the router output passes through the PCR PID from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programClockReferencePid
default SingleProgramTransportStreamPidMapConfiguration.Builder programClockReferencePid(Consumer<ProgramClockReferencePidConfiguration.Builder> programClockReferencePid) The Program Clock Reference (PCR) PID settings for the router output. By default, the router output passes through the PCR PID from the source.
This is a convenience method that creates an instance of theProgramClockReferencePidConfiguration.Builderavoiding the need to create one manually viaProgramClockReferencePidConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprogramClockReferencePid(ProgramClockReferencePidConfiguration).- Parameters:
programClockReferencePid- a consumer that will call methods onProgramClockReferencePidConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auto
The settings for automatic Packet ID (PID) assignment. The default start PID is 512, with 32 PIDs per program.
- Parameters:
auto- The settings for automatic Packet ID (PID) assignment. The default start PID is 512, with 32 PIDs per program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auto
default SingleProgramTransportStreamPidMapConfiguration.Builder auto(Consumer<AutoPidMapConfiguration.Builder> auto) The settings for automatic Packet ID (PID) assignment. The default start PID is 512, with 32 PIDs per program.
This is a convenience method that creates an instance of theAutoPidMapConfiguration.Builderavoiding the need to create one manually viaAutoPidMapConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauto(AutoPidMapConfiguration).- Parameters:
auto- a consumer that will call methods onAutoPidMapConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-