@Stability(value=Experimental) public static final class ChannelProps.Builder extends Object implements software.amazon.jsii.Builder<ChannelProps>
ChannelProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ChannelProps.Builder |
authorized(Boolean authorized)
Sets the value of
ChannelProps.getAuthorized() |
ChannelProps |
build()
Builds the configured instance.
|
ChannelProps.Builder |
latencyMode(LatencyMode latencyMode)
Sets the value of
ChannelProps.getLatencyMode() |
ChannelProps.Builder |
name(String name)
Sets the value of
ChannelProps.getName() |
ChannelProps.Builder |
type(ChannelType type)
Sets the value of
ChannelProps.getType() |
@Stability(value=Experimental) public ChannelProps.Builder authorized(Boolean authorized)
ChannelProps.getAuthorized()authorized - Whether the channel is authorized.
If you wish to make an authorized channel, you will need to ensure that
a PlaybackKeyPair has been uploaded to your account as this is used to
validate the signed JWT that is required for authorizationthis@Stability(value=Experimental) public ChannelProps.Builder latencyMode(LatencyMode latencyMode)
ChannelProps.getLatencyMode()latencyMode - Channel latency mode.this@Stability(value=Experimental) public ChannelProps.Builder name(String name)
ChannelProps.getName()name - Channel name.this@Stability(value=Experimental) public ChannelProps.Builder type(ChannelType type)
ChannelProps.getType()type - The channel type, which determines the allowable resolution and bitrate.
If you exceed the allowable resolution or bitrate, the stream will disconnect immediatelythis@Stability(value=Experimental) public ChannelProps build()
build in interface software.amazon.jsii.Builder<ChannelProps>ChannelPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.