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