Interface SearchViewsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchViewsResponse.Builder,,SearchViewsResponse> SdkBuilder<SearchViewsResponse.Builder,,SearchViewsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchViewsResponse
@Mutable
@NotThreadSafe
public static interface SearchViewsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchViewsResponse.Builder,SearchViewsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The approximate total number of views that match the search criteria.If there are additional results, this is the token for the next set of results.views(Collection<View> views) A list of views that match the search criteria.views(Consumer<View.Builder>... views) A list of views that match the search criteria.A list of views that match 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
views
A list of views that match the search criteria.
- Parameters:
views- A list of views that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
views
A list of views that match the search criteria.
- Parameters:
views- A list of views that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
views
A list of views that match the search criteria.
This is a convenience method that creates an instance of theView.Builderavoiding the need to create one manually viaView.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviews(List<View>).- Parameters:
views- a consumer that will call methods onView.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
approximateTotalCount
The approximate total number of views that match the search criteria.
- Parameters:
approximateTotalCount- The approximate total number of views that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-