public static interface SearchResponse.Builder extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<SearchResponse.Builder,SearchResponse>
| Modifier and Type | Method and Description |
|---|---|
default SearchResponse.Builder |
count(Consumer<ResourceCount.Builder> count)
The number of resources that match the query.
|
SearchResponse.Builder |
count(ResourceCount count)
The number of resources that match the query.
|
SearchResponse.Builder |
nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
SearchResponse.Builder |
resources(Collection<Resource> resources)
The list of structures that describe the resources that match the query.
|
SearchResponse.Builder |
resources(Consumer<Resource.Builder>... resources)
The list of structures that describe the resources that match the query.
|
SearchResponse.Builder |
resources(Resource... resources)
The list of structures that describe the resources that match the query.
|
SearchResponse.Builder |
viewArn(String viewArn)
The Amazon resource name
(ARN) of the view that this operation used to perform the search.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchResponse.Builder count(ResourceCount count)
The number of resources that match the query.
count - The number of resources that match the query.default SearchResponse.Builder count(Consumer<ResourceCount.Builder> count)
The number of resources that match the query.
This is a convenience method that creates an instance of theResourceCount.Builder avoiding the need
to create one manually via ResourceCount.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to count(ResourceCount).
count - a consumer that will call methods on ResourceCount.Buildercount(ResourceCount)SearchResponse.Builder nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value
in the NextToken request parameter in a subsequent call to the operation to get the next part of
the output. You should repeat this until the NextToken response element comes back as
null.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element
comes back as null.SearchResponse.Builder resources(Collection<Resource> resources)
The list of structures that describe the resources that match the query.
resources - The list of structures that describe the resources that match the query.SearchResponse.Builder resources(Resource... resources)
The list of structures that describe the resources that match the query.
resources - The list of structures that describe the resources that match the query.SearchResponse.Builder resources(Consumer<Resource.Builder>... resources)
The list of structures that describe the resources that match the query.
This is a convenience method that creates an instance of theResource.Builder avoiding the need to create
one manually via Resource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #resources(List.
resources - a consumer that will call methods on
Resource.Builder#resources(java.util.Collection) SearchResponse.Builder viewArn(String viewArn)
The Amazon resource name (ARN) of the view that this operation used to perform the search.
viewArn - The Amazon
resource name (ARN) of the view that this operation used to perform the search.Copyright © 2023. All rights reserved.