Interface CreateTopicRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTopicRuleRequest.Builder,CreateTopicRuleRequest>
,IotRequest.Builder
,SdkBuilder<CreateTopicRuleRequest.Builder,CreateTopicRuleRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateTopicRuleRequest
public static interface CreateTopicRuleRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateTopicRuleRequest.Builder,CreateTopicRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTopicRuleRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateTopicRuleRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateTopicRuleRequest.Builder
ruleName(String ruleName)
The name of the rule.CreateTopicRuleRequest.Builder
tags(String tags)
Metadata which can be used to manage the topic rule.default CreateTopicRuleRequest.Builder
topicRulePayload(Consumer<TopicRulePayload.Builder> topicRulePayload)
The rule payload.CreateTopicRuleRequest.Builder
topicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ruleName
CreateTopicRuleRequest.Builder ruleName(String ruleName)
The name of the rule.
- Parameters:
ruleName
- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicRulePayload
CreateTopicRuleRequest.Builder topicRulePayload(TopicRulePayload topicRulePayload)
The rule payload.
- Parameters:
topicRulePayload
- The rule payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicRulePayload
default CreateTopicRuleRequest.Builder topicRulePayload(Consumer<TopicRulePayload.Builder> topicRulePayload)
The rule payload.
This is a convenience method that creates an instance of theTopicRulePayload.Builder
avoiding the need to create one manually viaTopicRulePayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicRulePayload(TopicRulePayload)
.- Parameters:
topicRulePayload
- a consumer that will call methods onTopicRulePayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
topicRulePayload(TopicRulePayload)
-
tags
CreateTopicRuleRequest.Builder tags(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..."
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTopicRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTopicRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-