@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteChannelMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteChannelMessageRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteChannelMessageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
String |
getChimeBearer()
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
String |
getMessageId()
The ID of the message being deleted.
|
String |
getSubChannelId()
The ID of the SubChannel in the request.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
void |
setMessageId(String messageId)
The ID of the message being deleted.
|
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
String |
toString()
Returns a string representation of this object.
|
DeleteChannelMessageRequest |
withChannelArn(String channelArn)
The ARN of the channel.
|
DeleteChannelMessageRequest |
withChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
DeleteChannelMessageRequest |
withMessageId(String messageId)
The ID of the message being deleted.
|
DeleteChannelMessageRequest |
withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
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 setChannelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public DeleteChannelMessageRequest withChannelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.public void setMessageId(String messageId)
The ID of the message being deleted.
messageId - The ID of the message being deleted.public String getMessageId()
The ID of the message being deleted.
public DeleteChannelMessageRequest withMessageId(String messageId)
The ID of the message being deleted.
messageId - The ID of the message being deleted.public void setChimeBearer(String chimeBearer)
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
chimeBearer - The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.public String getChimeBearer()
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
AppInstanceUser or AppInstanceBot that makes the API call.public DeleteChannelMessageRequest withChimeBearer(String chimeBearer)
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
chimeBearer - The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.public void setSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when deleting messages in a SubChannel that the user belongs to.
subChannelId - The ID of the SubChannel in the request. Only required when deleting messages in a SubChannel that the user belongs to.
public String getSubChannelId()
The ID of the SubChannel in the request.
Only required when deleting messages in a SubChannel that the user belongs to.
Only required when deleting messages in a SubChannel that the user belongs to.
public DeleteChannelMessageRequest withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when deleting messages in a SubChannel that the user belongs to.
subChannelId - The ID of the SubChannel in the request. Only required when deleting messages in a SubChannel that the user belongs to.
public String toString()
toString in class ObjectObject.toString()public DeleteChannelMessageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()