Interface CreateChannelRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ChimeRequest.Builder, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>, SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateChannelRequest

public static interface CreateChannelRequest.Builder extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
  • Method Details

    • appInstanceArn

      CreateChannelRequest.Builder appInstanceArn(String appInstanceArn)

      The ARN of the channel request.

      Parameters:
      appInstanceArn - The ARN of the channel request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the channel.

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

      The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

      Parameters:
      mode - The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

      Parameters:
      mode - The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • privacy

      The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

      Parameters:
      privacy - The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • privacy

      The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

      Parameters:
      privacy - The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metadata

      The metadata of the creation request. Limited to 1KB and UTF-8.

      Parameters:
      metadata - The metadata of the creation request. Limited to 1KB and UTF-8.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      CreateChannelRequest.Builder clientRequestToken(String clientRequestToken)

      The client token for the request. An Idempotency token.

      Parameters:
      clientRequestToken - The client token for the request. An Idempotency token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the creation request.

      Parameters:
      tags - The tags for the creation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the creation request.

      Parameters:
      tags - The tags for the creation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the creation request.

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

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

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

      CreateChannelRequest.Builder chimeBearer(String chimeBearer)

      The AppInstanceUserArn of the user that makes the API call.

      Parameters:
      chimeBearer - The AppInstanceUserArn of the user that makes the API call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateChannelRequest.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.