Interface SendAnnouncementRequest.Builder

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

  • Method Details

    • roomFilters

      The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

      Parameters:
      roomFilters - The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roomFilters

      SendAnnouncementRequest.Builder roomFilters(Filter... roomFilters)

      The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

      Parameters:
      roomFilters - The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roomFilters

      The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

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

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

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

      The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).

      Parameters:
      content - The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).

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

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

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

      SendAnnouncementRequest.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)

      The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the announcement is not delivered.

      Parameters:
      timeToLiveInSeconds - The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the announcement is not delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      SendAnnouncementRequest.Builder clientRequestToken(String clientRequestToken)

      The unique, user-specified identifier for the request that ensures idempotency.

      Parameters:
      clientRequestToken - The unique, user-specified identifier for the request that ensures idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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