public class CreateTopicRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the CreateTopicRule operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ruleName
The name of the rule.
|
private TopicRulePayload |
topicRulePayload
The rule payload.
|
NOOP
Constructor and Description |
---|
CreateTopicRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTopicRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRuleName()
The name of the rule.
|
TopicRulePayload |
getTopicRulePayload()
The rule payload.
|
int |
hashCode() |
void |
setRuleName(java.lang.String ruleName)
The name of the rule.
|
void |
setTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTopicRuleRequest |
withRuleName(java.lang.String ruleName)
The name of the rule.
|
CreateTopicRuleRequest |
withTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String ruleName
The name of the rule.
private TopicRulePayload topicRulePayload
The rule payload.
public void setRuleName(java.lang.String ruleName)
The name of the rule.
ruleName
- The name of the rule.public java.lang.String getRuleName()
The name of the rule.
public CreateTopicRuleRequest withRuleName(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTopicRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()