Interface ListTopicRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTopicRulesResponse.Builder,,ListTopicRulesResponse> IotResponse.Builder,SdkBuilder<ListTopicRulesResponse.Builder,,ListTopicRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTopicRulesResponse
public static interface ListTopicRulesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListTopicRulesResponse.Builder,ListTopicRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results, or null if there are no additional results.rules(Collection<TopicRuleListItem> rules) The rules.rules(Consumer<TopicRuleListItem.Builder>... rules) The rules.rules(TopicRuleListItem... rules) The rules.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
-
rules
The rules.
- Parameters:
rules- The rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules.
- Parameters:
rules- The rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules.
This is a convenience method that creates an instance of theTopicRuleListItem.Builderavoiding the need to create one manually viaTopicRuleListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<TopicRuleListItem>).- Parameters:
rules- a consumer that will call methods onTopicRuleListItem.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.
-