@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedactChannelMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RedactChannelMessageRequest() |
Modifier and Type | Method and Description |
---|---|
RedactChannelMessageRequest |
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 containing the messages that you want to redact.
|
String |
getChimeBearer()
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
String |
getMessageId()
The ID of the message being redacted.
|
String |
getSubChannelId()
The ID of the SubChannel in the request.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel containing the messages that you want to redact.
|
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 redacted.
|
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
String |
toString()
Returns a string representation of this object.
|
RedactChannelMessageRequest |
withChannelArn(String channelArn)
The ARN of the channel containing the messages that you want to redact.
|
RedactChannelMessageRequest |
withChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
RedactChannelMessageRequest |
withMessageId(String messageId)
The ID of the message being redacted.
|
RedactChannelMessageRequest |
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, withSdkRequestTimeout
public void setChannelArn(String channelArn)
The ARN of the channel containing the messages that you want to redact.
channelArn
- The ARN of the channel containing the messages that you want to redact.public String getChannelArn()
The ARN of the channel containing the messages that you want to redact.
public RedactChannelMessageRequest withChannelArn(String channelArn)
The ARN of the channel containing the messages that you want to redact.
channelArn
- The ARN of the channel containing the messages that you want to redact.public void setMessageId(String messageId)
The ID of the message being redacted.
messageId
- The ID of the message being redacted.public String getMessageId()
The ID of the message being redacted.
public RedactChannelMessageRequest withMessageId(String messageId)
The ID of the message being redacted.
messageId
- The ID of the message being redacted.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 RedactChannelMessageRequest 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.
subChannelId
- The ID of the SubChannel in the request.public String getSubChannelId()
The ID of the SubChannel in the request.
public RedactChannelMessageRequest withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
subChannelId
- The ID of the SubChannel in the request.public String toString()
toString
in class Object
Object.toString()
public RedactChannelMessageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()