@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTopicRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the CreateTopicRule operation.
NOOP
Constructor and Description |
---|
CreateTopicRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTopicRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRuleName()
The name of the rule.
|
TopicRulePayload |
getTopicRulePayload()
The rule payload.
|
int |
hashCode() |
void |
setRuleName(String ruleName)
The name of the rule.
|
void |
setTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTopicRuleRequest |
withRuleName(String ruleName)
The name of the rule.
|
CreateTopicRuleRequest |
withTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
|
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 setRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public String getRuleName()
The name of the rule.
public CreateTopicRuleRequest withRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public void setTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
topicRulePayload
- The rule payload.public TopicRulePayload getTopicRulePayload()
The rule payload.
public CreateTopicRuleRequest withTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
topicRulePayload
- The rule payload.public String toString()
toString
in class Object
Object.toString()
public CreateTopicRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.