@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendAnnouncementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SendAnnouncementRequest() |
| Modifier and Type | Method and Description |
|---|---|
SendAnnouncementRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientRequestToken()
The unique, user-specified identifier for the request that ensures idempotency.
|
Content |
getContent()
The announcement content.
|
List<Filter> |
getRoomFilters()
The filters to use to send an announcement to a specified list of rooms.
|
Integer |
getTimeToLiveInSeconds()
The time to live for an announcement.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
The unique, user-specified identifier for the request that ensures idempotency.
|
void |
setContent(Content content)
The announcement content.
|
void |
setRoomFilters(Collection<Filter> roomFilters)
The filters to use to send an announcement to a specified list of rooms.
|
void |
setTimeToLiveInSeconds(Integer timeToLiveInSeconds)
The time to live for an announcement.
|
String |
toString()
Returns a string representation of this object.
|
SendAnnouncementRequest |
withClientRequestToken(String clientRequestToken)
The unique, user-specified identifier for the request that ensures idempotency.
|
SendAnnouncementRequest |
withContent(Content content)
The announcement content.
|
SendAnnouncementRequest |
withRoomFilters(Collection<Filter> roomFilters)
The filters to use to send an announcement to a specified list of rooms.
|
SendAnnouncementRequest |
withRoomFilters(Filter... roomFilters)
The filters to use to send an announcement to a specified list of rooms.
|
SendAnnouncementRequest |
withTimeToLiveInSeconds(Integer timeToLiveInSeconds)
The time to live for an announcement.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<Filter> getRoomFilters()
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.
public void setRoomFilters(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.
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.public SendAnnouncementRequest withRoomFilters(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.
NOTE: This method appends the values to the existing list (if any). Use
setRoomFilters(java.util.Collection) or withRoomFilters(java.util.Collection) if you want to
override the existing values.
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.public SendAnnouncementRequest withRoomFilters(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.
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.public void setContent(Content content)
The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).
content - The announcement content. This can contain only one of the three possible announcement types (text, SSML
or audio).public Content getContent()
The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).
public SendAnnouncementRequest withContent(Content content)
The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).
content - The announcement content. This can contain only one of the three possible announcement types (text, SSML
or audio).public void setTimeToLiveInSeconds(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.
timeToLiveInSeconds - The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the
announcement is not delivered.public Integer getTimeToLiveInSeconds()
The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the announcement is not delivered.
public SendAnnouncementRequest withTimeToLiveInSeconds(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.
timeToLiveInSeconds - The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the
announcement is not delivered.public void setClientRequestToken(String clientRequestToken)
The unique, user-specified identifier for the request that ensures idempotency.
clientRequestToken - The unique, user-specified identifier for the request that ensures idempotency.public String getClientRequestToken()
The unique, user-specified identifier for the request that ensures idempotency.
public SendAnnouncementRequest withClientRequestToken(String clientRequestToken)
The unique, user-specified identifier for the request that ensures idempotency.
clientRequestToken - The unique, user-specified identifier for the request that ensures idempotency.public String toString()
toString in class ObjectObject.toString()public SendAnnouncementRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.