Interface ListTopicRuleDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTopicRuleDestinationsResponse.Builder,
,ListTopicRuleDestinationsResponse> IotResponse.Builder
,SdkBuilder<ListTopicRuleDestinationsResponse.Builder,
,ListTopicRuleDestinationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTopicRuleDestinationsResponse
public static interface ListTopicRuleDestinationsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListTopicRuleDestinationsResponse.Builder,ListTopicRuleDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationSummaries
(Collection<TopicRuleDestinationSummary> destinationSummaries) Information about a topic rule destination.destinationSummaries
(Consumer<TopicRuleDestinationSummary.Builder>... destinationSummaries) Information about a topic rule destination.destinationSummaries
(TopicRuleDestinationSummary... destinationSummaries) Information about a topic rule destination.The token to use to get the next set of results, or null if there are no additional results.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 Details
-
destinationSummaries
ListTopicRuleDestinationsResponse.Builder destinationSummaries(Collection<TopicRuleDestinationSummary> destinationSummaries) Information about a topic rule destination.
- Parameters:
destinationSummaries
- Information about a topic rule destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationSummaries
ListTopicRuleDestinationsResponse.Builder destinationSummaries(TopicRuleDestinationSummary... destinationSummaries) Information about a topic rule destination.
- Parameters:
destinationSummaries
- Information about a topic rule destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationSummaries
ListTopicRuleDestinationsResponse.Builder destinationSummaries(Consumer<TopicRuleDestinationSummary.Builder>... destinationSummaries) Information about a topic rule destination.
This is a convenience method that creates an instance of theTopicRuleDestinationSummary.Builder
avoiding the need to create one manually viaTopicRuleDestinationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationSummaries(List<TopicRuleDestinationSummary>)
.- Parameters:
destinationSummaries
- a consumer that will call methods onTopicRuleDestinationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results, or null if there are no additional results.
- Parameters:
nextToken
- The token to use to get the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-