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 Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) The unique, user-specified identifier for the request that ensures idempotency.default SendAnnouncementRequest.Builder
content
(Consumer<Content.Builder> content) The announcement content.The announcement content.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.roomFilters
(Collection<Filter> roomFilters) The filters to use to send an announcement to a specified list of rooms.roomFilters
(Consumer<Filter.Builder>... roomFilters) The filters to use to send an announcement to a specified list of rooms.roomFilters
(Filter... roomFilters) The filters to use to send an announcement to a specified list of rooms.timeToLiveInSeconds
(Integer timeToLiveInSeconds) The time to live for an announcement.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroomFilters(List<Filter>)
.- Parameters:
roomFilters
- a consumer that will call methods onFilter.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 theContent.Builder
avoiding the need to create one manually viaContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(Content)
.- Parameters:
content
- a consumer that will call methods onContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendAnnouncementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-