public class CreateTopicRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a 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 |
---|
CreateTopicRuleRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRuleName()
The name of the rule.
|
java.lang.String |
getTags()
Metadata which can be used to manage the topic rule.
|
TopicRulePayload |
getTopicRulePayload()
The rule payload.
|
int |
hashCode() |
void |
setRuleName(java.lang.String ruleName)
The name of the rule.
|
void |
setTags(java.lang.String tags)
Metadata which can be used to manage the topic 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 |
withTags(java.lang.String tags)
Metadata which can be used to manage the topic rule.
|
CreateTopicRuleRequest |
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 CreateTopicRuleRequest 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 CreateTopicRuleRequest 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 getTags()
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(java.lang.String tags)
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateTopicRuleRequest withTags(java.lang.String tags)
Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the topic rule.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
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.