@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()