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.Buildercontent(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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaContent.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-