Interface UpdateChannelResponse.Builder

  • Method Details

    • channelDescription

      UpdateChannelResponse.Builder channelDescription(ChannelDescription channelDescription)

      The configuration and current status of the channel after the update, including its ARN, destination configuration, and lifecycle state. Immediately after the request, the state is UPDATING.

      Parameters:
      channelDescription - The configuration and current status of the channel after the update, including its ARN, destination configuration, and lifecycle state. Immediately after the request, the state is UPDATING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelDescription

      default UpdateChannelResponse.Builder channelDescription(Consumer<ChannelDescription.Builder> channelDescription)

      The configuration and current status of the channel after the update, including its ARN, destination configuration, and lifecycle state. Immediately after the request, the state is UPDATING.

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

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

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