public class ReplaceTopicRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable
Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Constructor and Description |
---|
ReplaceTopicRuleRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
ReplaceTopicRuleRequest |
withRuleName(java.lang.String ruleName)
The name of the rule.
|
ReplaceTopicRuleRequest |
withTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getRuleName()
The name of the rule.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
The name of the rule.
public void setRuleName(java.lang.String ruleName)
The name of the rule.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
ruleName
- The name of the rule.
public ReplaceTopicRuleRequest withRuleName(java.lang.String ruleName)
The name of the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
ruleName
- The name of the rule.
public TopicRulePayload getTopicRulePayload()
The rule payload.
The rule payload.
public void setTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
topicRulePayload
- The rule payload.
public ReplaceTopicRuleRequest withTopicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
Returns a reference to this object so that method calls can be chained together.
topicRulePayload
- The rule payload.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.