Interface SearchRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchRulesResponse.Builder,,SearchRulesResponse> SdkBuilder<SearchRulesResponse.Builder,,SearchRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchRulesResponse
@Mutable
@NotThreadSafe
public static interface SearchRulesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchRulesResponse.Builder,SearchRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The total number of rules which matched your search query.If there are additional results, this is the token for the next set of results.rules(Collection<RuleSearchSummary> rules) Information about the rules.rules(Consumer<RuleSearchSummary.Builder>... rules) Information about the rules.rules(RuleSearchSummary... rules) Information about the rules.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
rules
Information about the rules.
- Parameters:
rules- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the rules.
- Parameters:
rules- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the rules.
This is a convenience method that creates an instance of theRuleSearchSummary.Builderavoiding the need to create one manually viaRuleSearchSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<RuleSearchSummary>).- Parameters:
rules- a consumer that will call methods onRuleSearchSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateTotalCount
The total number of rules which matched your search query.
- Parameters:
approximateTotalCount- The total number of rules which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-