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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchPredefinedAttributesResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The approximate number of predefined attributes which matched your search query.SearchPredefinedAttributesResponse.BuildernextToken(String nextToken)The token for the next set of results.SearchPredefinedAttributesResponse.BuilderpredefinedAttributes(Collection<PredefinedAttribute> predefinedAttributes)Predefined attributes matched by the search criteria.SearchPredefinedAttributesResponse.BuilderpredefinedAttributes(Consumer<PredefinedAttribute.Builder>... predefinedAttributes)Predefined attributes matched by the search criteria.SearchPredefinedAttributesResponse.BuilderpredefinedAttributes(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 Detail
-
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 to#predefinedAttributes(List.) - 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:
#predefinedAttributes(java.util.Collection)
-
nextToken
SearchPredefinedAttributesResponse.Builder nextToken(String 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
SearchPredefinedAttributesResponse.Builder approximateTotalCount(Long 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.
-
-