@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteMessageRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteMessageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
ID of the message to be deleted.
|
String |
getReason()
Reason for deleting the message.
|
String |
getRoomIdentifier()
Identifier of the room where the message should be deleted.
|
int |
hashCode() |
void |
setId(String id)
ID of the message to be deleted.
|
void |
setReason(String reason)
Reason for deleting the message.
|
void |
setRoomIdentifier(String roomIdentifier)
Identifier of the room where the message should be deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteMessageRequest |
withId(String id)
ID of the message to be deleted.
|
DeleteMessageRequest |
withReason(String reason)
Reason for deleting the message.
|
DeleteMessageRequest |
withRoomIdentifier(String roomIdentifier)
Identifier of the room where the message should be deleted.
|
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, withSdkRequestTimeoutpublic void setRoomIdentifier(String roomIdentifier)
Identifier of the room where the message should be deleted. Currently this must be an ARN.
roomIdentifier - Identifier of the room where the message should be deleted. Currently this must be an ARN.public String getRoomIdentifier()
Identifier of the room where the message should be deleted. Currently this must be an ARN.
public DeleteMessageRequest withRoomIdentifier(String roomIdentifier)
Identifier of the room where the message should be deleted. Currently this must be an ARN.
roomIdentifier - Identifier of the room where the message should be deleted. Currently this must be an ARN.public void setId(String id)
ID of the message to be deleted. This is the Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).
id - ID of the message to be deleted. This is the Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).public String getId()
ID of the message to be deleted. This is the Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).
Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).public DeleteMessageRequest withId(String id)
ID of the message to be deleted. This is the Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).
id - ID of the message to be deleted. This is the Id field in the received message (see Message
(Subscribe) in the Chat Messaging API).public void setReason(String reason)
Reason for deleting the message.
reason - Reason for deleting the message.public String getReason()
Reason for deleting the message.
public DeleteMessageRequest withReason(String reason)
Reason for deleting the message.
reason - Reason for deleting the message.public String toString()
toString in class ObjectObject.toString()public DeleteMessageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()