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