Interface GetTopicRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTopicRuleResponse.Builder,GetTopicRuleResponse>
,IotResponse.Builder
,SdkBuilder<GetTopicRuleResponse.Builder,GetTopicRuleResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetTopicRuleResponse
public static interface GetTopicRuleResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetTopicRuleResponse.Builder,GetTopicRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTopicRuleResponse.Builder
rule(Consumer<TopicRule.Builder> rule)
The rule.GetTopicRuleResponse.Builder
rule(TopicRule rule)
The rule.GetTopicRuleResponse.Builder
ruleArn(String ruleArn)
The rule ARN.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ruleArn
GetTopicRuleResponse.Builder ruleArn(String ruleArn)
The rule ARN.
- Parameters:
ruleArn
- The rule ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
GetTopicRuleResponse.Builder rule(TopicRule rule)
The rule.
- Parameters:
rule
- The rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
default GetTopicRuleResponse.Builder rule(Consumer<TopicRule.Builder> rule)
The rule.
This is a convenience method that creates an instance of theTopicRule.Builder
avoiding the need to create one manually viaTopicRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torule(TopicRule)
.- Parameters:
rule
- a consumer that will call methods onTopicRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rule(TopicRule)
-
-