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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTopicRuleDestinationSummary.builder().When the
Consumercompletes,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.
-