Interface Channel.Builder

    • Method Detail

      • arn

        Channel.Builder arn​(String arn)
        The unique arn of the channel.
        Parameters:
        arn - The unique arn of the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cdiInputSpecification

        Channel.Builder cdiInputSpecification​(CdiInputSpecification cdiInputSpecification)
        Specification of CDI inputs for this channel
        Parameters:
        cdiInputSpecification - Specification of CDI inputs for this channel
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelClass

        Channel.Builder channelClass​(String channelClass)
        The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
        Parameters:
        channelClass - The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelClass, ChannelClass
      • channelClass

        Channel.Builder channelClass​(ChannelClass channelClass)
        The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
        Parameters:
        channelClass - The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelClass, ChannelClass
      • destinations

        Channel.Builder destinations​(Collection<OutputDestination> destinations)
        A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
        Parameters:
        destinations - A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        Channel.Builder destinations​(OutputDestination... destinations)
        A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
        Parameters:
        destinations - A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        Channel.Builder destinations​(Consumer<OutputDestination.Builder>... destinations)
        A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager. This is a convenience method that creates an instance of the OutputDestination.Builder avoiding the need to create one manually via OutputDestination.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #destinations(List).

        Parameters:
        destinations - a consumer that will call methods on OutputDestination.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #destinations(java.util.Collection)
      • egressEndpoints

        Channel.Builder egressEndpoints​(Collection<ChannelEgressEndpoint> egressEndpoints)
        The endpoints where outgoing connections initiate from
        Parameters:
        egressEndpoints - The endpoints where outgoing connections initiate from
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • egressEndpoints

        Channel.Builder egressEndpoints​(ChannelEgressEndpoint... egressEndpoints)
        The endpoints where outgoing connections initiate from
        Parameters:
        egressEndpoints - The endpoints where outgoing connections initiate from
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encoderSettings

        Channel.Builder encoderSettings​(EncoderSettings encoderSettings)
        Sets the value of the EncoderSettings property for this object.
        Parameters:
        encoderSettings - The new value for the EncoderSettings property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Channel.Builder id​(String id)
        The unique id of the channel.
        Parameters:
        id - The unique id of the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputAttachments

        Channel.Builder inputAttachments​(Collection<InputAttachment> inputAttachments)
        List of input attachments for channel.
        Parameters:
        inputAttachments - List of input attachments for channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputAttachments

        Channel.Builder inputAttachments​(InputAttachment... inputAttachments)
        List of input attachments for channel.
        Parameters:
        inputAttachments - List of input attachments for channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputSpecification

        Channel.Builder inputSpecification​(InputSpecification inputSpecification)
        Specification of network and file inputs for this channel
        Parameters:
        inputSpecification - Specification of network and file inputs for this channel
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logLevel

        Channel.Builder logLevel​(String logLevel)
        The log level being written to CloudWatch Logs.
        Parameters:
        logLevel - The log level being written to CloudWatch Logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogLevel, LogLevel
      • logLevel

        Channel.Builder logLevel​(LogLevel logLevel)
        The log level being written to CloudWatch Logs.
        Parameters:
        logLevel - The log level being written to CloudWatch Logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogLevel, LogLevel
      • maintenance

        Channel.Builder maintenance​(MaintenanceStatus maintenance)
        Maintenance settings for this channel.
        Parameters:
        maintenance - Maintenance settings for this channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Channel.Builder name​(String name)
        The name of the channel. (user-mutable)
        Parameters:
        name - The name of the channel. (user-mutable)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineDetails

        Channel.Builder pipelineDetails​(Collection<PipelineDetail> pipelineDetails)
        Runtime details for the pipelines of a running channel.
        Parameters:
        pipelineDetails - Runtime details for the pipelines of a running channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineDetails

        Channel.Builder pipelineDetails​(PipelineDetail... pipelineDetails)
        Runtime details for the pipelines of a running channel.
        Parameters:
        pipelineDetails - Runtime details for the pipelines of a running channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pipelinesRunningCount

        Channel.Builder pipelinesRunningCount​(Integer pipelinesRunningCount)
        The number of currently healthy pipelines.
        Parameters:
        pipelinesRunningCount - The number of currently healthy pipelines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        Channel.Builder roleArn​(String roleArn)
        The Amazon Resource Name (ARN) of the role assumed when running the Channel.
        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the role assumed when running the Channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Channel.Builder state​(String state)
        Sets the value of the State property for this object.
        Parameters:
        state - The new value for the State property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelState, ChannelState
      • state

        Channel.Builder state​(ChannelState state)
        Sets the value of the State property for this object.
        Parameters:
        state - The new value for the State property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelState, ChannelState
      • tags

        Channel.Builder tags​(Map<String,​String> tags)
        A collection of key-value pairs.
        Parameters:
        tags - A collection of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpc

        Channel.Builder vpc​(VpcOutputSettingsDescription vpc)
        Settings for VPC output
        Parameters:
        vpc - Settings for VPC output
        Returns:
        Returns a reference to this object so that method calls can be chained together.