Interface CreateTopicRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTopicRuleRequest.Builder,,CreateTopicRuleRequest> IotRequest.Builder,SdkBuilder<CreateTopicRuleRequest.Builder,,CreateTopicRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTopicRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the rule.Metadata which can be used to manage the topic rule.default CreateTopicRuleRequest.BuildertopicRulePayload(Consumer<TopicRulePayload.Builder> topicRulePayload) The rule payload.topicRulePayload(TopicRulePayload topicRulePayload) The rule payload.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaTopicRulePayload.builder().When the
Consumercompletes,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:
-
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTopicRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-