Interface ChannelBan.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ChannelBan.Builder,ChannelBan>, SdkBuilder<ChannelBan.Builder,ChannelBan>, SdkPojo
Enclosing class:
ChannelBan

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

    • member

      ChannelBan.Builder member(Identity member)

      The member being banned from the channel.

      Parameters:
      member - The member being banned from the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • member

      default ChannelBan.Builder member(Consumer<Identity.Builder> member)

      The member being banned from the channel.

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

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

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

      ChannelBan.Builder channelArn(String channelArn)

      The ARN of the channel from which a member is being banned.

      Parameters:
      channelArn - The ARN of the channel from which a member is being banned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      ChannelBan.Builder createdTimestamp(Instant createdTimestamp)

      The time at which the ban was created.

      Parameters:
      createdTimestamp - The time at which the ban was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      ChannelBan.Builder createdBy(Identity createdBy)

      The AppInstanceUser who created the ban.

      Parameters:
      createdBy - The AppInstanceUser who created the ban.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      default ChannelBan.Builder createdBy(Consumer<Identity.Builder> createdBy)

      The AppInstanceUser who created the ban.

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

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

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