@Generated(value="software.amazon.awssdk:codegen") public final class CreateTopicRuleRequest extends IotRequest implements ToCopyableBuilder<CreateTopicRuleRequest.Builder,CreateTopicRuleRequest>
The input for the CreateTopicRule operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTopicRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateTopicRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ruleName()
The name of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTopicRuleRequest.Builder> |
serializableBuilderClass() |
String |
tags()
Metadata which can be used to manage the topic rule.
|
CreateTopicRuleRequest.Builder |
toBuilder() |
TopicRulePayload |
topicRulePayload()
The rule payload.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ruleName()
The name of the rule.
public final TopicRulePayload topicRulePayload()
The rule payload.
public final 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..."
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTopicRuleRequest.Builder,CreateTopicRuleRequest>toBuilder in class IotRequestpublic static CreateTopicRuleRequest.Builder builder()
public static Class<? extends CreateTopicRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.