Interface UpdateChannelRequest.Builder

  • Method Details

    • arn

      ARN of the channel to be updated.

      Parameters:
      arn - ARN of the channel to be updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorized

      UpdateChannelRequest.Builder authorized(Boolean authorized)

      Whether the channel is private (enabled for playback authorization).

      Parameters:
      authorized - Whether the channel is private (enabled for playback authorization).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerFormat

      UpdateChannelRequest.Builder containerFormat(String containerFormat)

      Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.

      Parameters:
      containerFormat - Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerFormat

      UpdateChannelRequest.Builder containerFormat(ContainerFormat containerFormat)

      Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.

      Parameters:
      containerFormat - Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • insecureIngest

      UpdateChannelRequest.Builder insecureIngest(Boolean insecureIngest)

      Whether the channel allows insecure RTMP and SRT ingest. Default: false.

      Parameters:
      insecureIngest - Whether the channel allows insecure RTMP and SRT ingest. Default: false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latencyMode

      UpdateChannelRequest.Builder latencyMode(String latencyMode)

      Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.

      Parameters:
      latencyMode - Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • latencyMode

      Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.

      Parameters:
      latencyMode - Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • multitrackInputConfiguration

      UpdateChannelRequest.Builder multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration)

      Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.

      Parameters:
      multitrackInputConfiguration - Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multitrackInputConfiguration

      default UpdateChannelRequest.Builder multitrackInputConfiguration(Consumer<MultitrackInputConfiguration.Builder> multitrackInputConfiguration)

      Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.

      This is a convenience method that creates an instance of the MultitrackInputConfiguration.Builder avoiding the need to create one manually via MultitrackInputConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to multitrackInputConfiguration(MultitrackInputConfiguration).

      Parameters:
      multitrackInputConfiguration - a consumer that will call methods on MultitrackInputConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Channel name.

      Parameters:
      name - Channel name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playbackRestrictionPolicyArn

      UpdateChannelRequest.Builder playbackRestrictionPolicyArn(String playbackRestrictionPolicyArn)

      Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.

      Parameters:
      playbackRestrictionPolicyArn - Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preset

      Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD ), preset is the empty string ("").

      Parameters:
      preset - Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • preset

      Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD ), preset is the empty string ("").

      Parameters:
      preset - Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordingConfigurationArn

      UpdateChannelRequest.Builder recordingConfigurationArn(String recordingConfigurationArn)

      Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.

      Parameters:
      recordingConfigurationArn - Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

      Parameters:
      type - Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

      Parameters:
      type - Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.