Interface CreateTopicRuleDestinationResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateTopicRuleDestinationResponse.Builder,,CreateTopicRuleDestinationResponse> IotResponse.Builder,SdkBuilder<CreateTopicRuleDestinationResponse.Builder,,CreateTopicRuleDestinationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateTopicRuleDestinationResponse
public static interface CreateTopicRuleDestinationResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<CreateTopicRuleDestinationResponse.Builder,CreateTopicRuleDestinationResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiontopicRuleDestination(Consumer<TopicRuleDestination.Builder> topicRuleDestination) The topic rule destination.topicRuleDestination(TopicRuleDestination topicRuleDestination) The topic rule destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
topicRuleDestination
CreateTopicRuleDestinationResponse.Builder topicRuleDestination(TopicRuleDestination topicRuleDestination) The topic rule destination.
- Parameters:
 topicRuleDestination- The topic rule destination.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
topicRuleDestination
default CreateTopicRuleDestinationResponse.Builder topicRuleDestination(Consumer<TopicRuleDestination.Builder> topicRuleDestination) The topic rule destination.
This is a convenience method that creates an instance of theTopicRuleDestination.Builderavoiding the need to create one manually viaTopicRuleDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopicRuleDestination(TopicRuleDestination).- Parameters:
 topicRuleDestination- a consumer that will call methods onTopicRuleDestination.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -