Interface SearchPredefinedAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchPredefinedAttributesResponse.Builder,
,SearchPredefinedAttributesResponse> SdkBuilder<SearchPredefinedAttributesResponse.Builder,
,SearchPredefinedAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchPredefinedAttributesResponse
public static interface SearchPredefinedAttributesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchPredefinedAttributesResponse.Builder,SearchPredefinedAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The approximate number of predefined attributes which matched your search query.The token for the next set of results.predefinedAttributes
(Collection<PredefinedAttribute> predefinedAttributes) Predefined attributes matched by the search criteria.predefinedAttributes
(Consumer<PredefinedAttribute.Builder>... predefinedAttributes) Predefined attributes matched by the search criteria.predefinedAttributes
(PredefinedAttribute... predefinedAttributes) Predefined attributes matched by the search criteria.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
predefinedAttributes
SearchPredefinedAttributesResponse.Builder predefinedAttributes(Collection<PredefinedAttribute> predefinedAttributes) Predefined attributes matched by the search criteria.
- Parameters:
predefinedAttributes
- Predefined attributes matched by the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedAttributes
SearchPredefinedAttributesResponse.Builder predefinedAttributes(PredefinedAttribute... predefinedAttributes) Predefined attributes matched by the search criteria.
- Parameters:
predefinedAttributes
- Predefined attributes matched by the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedAttributes
SearchPredefinedAttributesResponse.Builder predefinedAttributes(Consumer<PredefinedAttribute.Builder>... predefinedAttributes) Predefined attributes matched by the search criteria.
This is a convenience method that creates an instance of thePredefinedAttribute.Builder
avoiding the need to create one manually viaPredefinedAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredefinedAttributes(List<PredefinedAttribute>)
.- Parameters:
predefinedAttributes
- a consumer that will call methods onPredefinedAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateTotalCount
The approximate number of predefined attributes which matched your search query.
- Parameters:
approximateTotalCount
- The approximate number of predefined attributes which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-