Interface CreateChannelResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>, MediaTailorResponse.Builder, SdkBuilder<CreateChannelResponse.Builder,CreateChannelResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateChannelResponse

public static interface CreateChannelResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) to assign to the channel.

      Parameters:
      arn - The Amazon Resource Name (ARN) to assign to the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelName

      CreateChannelResponse.Builder channelName(String channelName)

      The name to assign to the channel.

      Parameters:
      channelName - The name to assign to the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelState

      CreateChannelResponse.Builder channelState(String channelState)

      Indicates whether the channel is in a running state or not.

      Parameters:
      channelState - Indicates whether the channel is in a running state or not.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channelState

      CreateChannelResponse.Builder channelState(ChannelState channelState)

      Indicates whether the channel is in a running state or not.

      Parameters:
      channelState - Indicates whether the channel is in a running state or not.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      CreateChannelResponse.Builder creationTime(Instant creationTime)

      The timestamp of when the channel was created.

      Parameters:
      creationTime - The timestamp of when the channel was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fillerSlate

      CreateChannelResponse.Builder fillerSlate(SlateSource fillerSlate)

      Contains information about the slate used to fill gaps between programs in the schedule.

      Parameters:
      fillerSlate - Contains information about the slate used to fill gaps between programs in the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fillerSlate

      default CreateChannelResponse.Builder fillerSlate(Consumer<SlateSource.Builder> fillerSlate)

      Contains information about the slate used to fill gaps between programs in the schedule.

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

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

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

      CreateChannelResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp of when the channel was last modified.

      Parameters:
      lastModifiedTime - The timestamp of when the channel was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The output properties to assign to the channel.

      Parameters:
      outputs - The output properties to assign to the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The output properties to assign to the channel.

      Parameters:
      outputs - The output properties to assign to the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      The output properties to assign to the channel.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputs(List<ResponseOutputItem>).

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

      CreateChannelResponse.Builder playbackMode(String playbackMode)

      The playback mode to assign to the channel.

      Parameters:
      playbackMode - The playback mode to assign to the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

      Parameters:
      tags - The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tier

      The tier of the channel.

      Parameters:
      tier - The tier of the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.