@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() | 
| boolean | equals(Object obj) | 
| String | getRuleName()
 The name of the rule. | 
| String | getTags()
 Metadata which can be used to manage the topic rule. | 
| TopicRulePayload | getTopicRulePayload()
 The rule payload. | 
| int | hashCode() | 
| void | setRuleName(String ruleName)
 The name of the rule. | 
| void | setTags(String tags)
 Metadata which can be used to manage the topic rule. | 
| void | setTopicRulePayload(TopicRulePayload topicRulePayload)
 The rule payload. | 
| String | toString()Returns a string representation of this object. | 
| CreateTopicRuleRequest | withRuleName(String ruleName)
 The name of the rule. | 
| CreateTopicRuleRequest | withTags(String tags)
 Metadata which can be used to manage the topic rule. | 
| CreateTopicRuleRequest | withTopicRulePayload(TopicRulePayload topicRulePayload)
 The rule payload. | 
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 void setTags(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 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..."
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(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 String toString()
toString in class ObjectObject.toString()public CreateTopicRuleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.