@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRetainedMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the GetRetainedMessage operation.
NOOP
Constructor and Description |
---|
GetRetainedMessageRequest() |
Modifier and Type | Method and Description |
---|---|
GetRetainedMessageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getTopic()
The topic name of the retained message to retrieve.
|
int |
hashCode() |
void |
setTopic(String topic)
The topic name of the retained message to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetRetainedMessageRequest |
withTopic(String topic)
The topic name of the retained message to retrieve.
|
addHandlerContext, copyBaseTo, 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 setTopic(String topic)
The topic name of the retained message to retrieve.
topic
- The topic name of the retained message to retrieve.public String getTopic()
The topic name of the retained message to retrieve.
public GetRetainedMessageRequest withTopic(String topic)
The topic name of the retained message to retrieve.
topic
- The topic name of the retained message to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetRetainedMessageRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.