Interface SendAnnouncementRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SendAnnouncementRequest.Builder,SendAnnouncementRequest>,SdkBuilder<SendAnnouncementRequest.Builder,SendAnnouncementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SendAnnouncementRequest
public static interface SendAnnouncementRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<SendAnnouncementRequest.Builder,SendAnnouncementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SendAnnouncementRequest.BuilderclientRequestToken(String clientRequestToken)The unique, user-specified identifier for the request that ensures idempotency.default SendAnnouncementRequest.Buildercontent(Consumer<Content.Builder> content)The announcement content.SendAnnouncementRequest.Buildercontent(Content content)The announcement content.SendAnnouncementRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SendAnnouncementRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SendAnnouncementRequest.BuilderroomFilters(Collection<Filter> roomFilters)The filters to use to send an announcement to a specified list of rooms.SendAnnouncementRequest.BuilderroomFilters(Consumer<Filter.Builder>... roomFilters)The filters to use to send an announcement to a specified list of rooms.SendAnnouncementRequest.BuilderroomFilters(Filter... roomFilters)The filters to use to send an announcement to a specified list of rooms.SendAnnouncementRequest.BuildertimeToLiveInSeconds(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 Detail
-
roomFilters
SendAnnouncementRequest.Builder roomFilters(Collection<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
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
SendAnnouncementRequest.Builder roomFilters(Consumer<Filter.Builder>... 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 to#roomFilters(List.) - 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:
#roomFilters(java.util.Collection)
-
content
SendAnnouncementRequest.Builder content(Content 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
default SendAnnouncementRequest.Builder content(Consumer<Content.Builder> 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:
content(Content)
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendAnnouncementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-