Interface GetTopicRuleDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTopicRuleDestinationResponse.Builder,,GetTopicRuleDestinationResponse> IotResponse.Builder,SdkBuilder<GetTopicRuleDestinationResponse.Builder,,GetTopicRuleDestinationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTopicRuleDestinationResponse
public static interface GetTopicRuleDestinationResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetTopicRuleDestinationResponse.Builder,GetTopicRuleDestinationResponse>
-
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
GetTopicRuleDestinationResponse.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 GetTopicRuleDestinationResponse.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:
-