public static interface CreateTopicRuleDestinationResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<CreateTopicRuleDestinationResponse.Builder,CreateTopicRuleDestinationResponse>
Modifier and Type | Method and Description |
---|---|
default CreateTopicRuleDestinationResponse.Builder |
topicRuleDestination(Consumer<TopicRuleDestination.Builder> topicRuleDestination)
The topic rule destination.
|
CreateTopicRuleDestinationResponse.Builder |
topicRuleDestination(TopicRuleDestination topicRuleDestination)
The topic rule destination.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTopicRuleDestinationResponse.Builder topicRuleDestination(TopicRuleDestination topicRuleDestination)
The topic rule destination.
topicRuleDestination
- The topic rule destination.default CreateTopicRuleDestinationResponse.Builder topicRuleDestination(Consumer<TopicRuleDestination.Builder> topicRuleDestination)
The topic rule destination.
This is a convenience that creates an instance of theTopicRuleDestination.Builder
avoiding the need
to create one manually via TopicRuleDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to topicRuleDestination(TopicRuleDestination)
.topicRuleDestination
- a consumer that will call methods on TopicRuleDestination.Builder
topicRuleDestination(TopicRuleDestination)
Copyright © 2020. All rights reserved.