@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendEventRequest() |
Modifier and Type | Method and Description |
---|---|
SendEventRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
SendEventRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SendEventRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
Application-defined metadata to attach to the event sent to clients.
|
String |
getEventName()
Application-defined name of the event to send to clients.
|
String |
getRoomIdentifier()
Identifier of the room to which the event will be sent.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
Application-defined metadata to attach to the event sent to clients.
|
void |
setEventName(String eventName)
Application-defined name of the event to send to clients.
|
void |
setRoomIdentifier(String roomIdentifier)
Identifier of the room to which the event will be sent.
|
String |
toString()
Returns a string representation of this object.
|
SendEventRequest |
withAttributes(Map<String,String> attributes)
Application-defined metadata to attach to the event sent to clients.
|
SendEventRequest |
withEventName(String eventName)
Application-defined name of the event to send to clients.
|
SendEventRequest |
withRoomIdentifier(String roomIdentifier)
Identifier of the room to which the event will be sent.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setRoomIdentifier(String roomIdentifier)
Identifier of the room to which the event will be sent. Currently this must be an ARN.
roomIdentifier
- Identifier of the room to which the event will be sent. Currently this must be an ARN.public String getRoomIdentifier()
Identifier of the room to which the event will be sent. Currently this must be an ARN.
public SendEventRequest withRoomIdentifier(String roomIdentifier)
Identifier of the room to which the event will be sent. Currently this must be an ARN.
roomIdentifier
- Identifier of the room to which the event will be sent. Currently this must be an ARN.public void setEventName(String eventName)
Application-defined name of the event to send to clients.
eventName
- Application-defined name of the event to send to clients.public String getEventName()
Application-defined name of the event to send to clients.
public SendEventRequest withEventName(String eventName)
Application-defined name of the event to send to clients.
eventName
- Application-defined name of the event to send to clients.public Map<String,String> getAttributes()
Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.
public void setAttributes(Map<String,String> attributes)
Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.
attributes
- Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is
1 KB total.public SendEventRequest withAttributes(Map<String,String> attributes)
Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.
attributes
- Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is
1 KB total.public SendEventRequest addAttributesEntry(String key, String value)
public SendEventRequest clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public SendEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()