public static interface SearchResourcesRequest.Builder extends ResourceGroupsRequest.Builder, CopyableBuilder<SearchResourcesRequest.Builder,SearchResourcesRequest>
Modifier and Type | Method and Description |
---|---|
SearchResourcesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of group member ARNs returned by
SearchResources in paginated output. |
SearchResourcesRequest.Builder |
nextToken(String nextToken)
The NextToken value that is returned in a paginated
SearchResources request. |
SearchResourcesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SearchResourcesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default SearchResourcesRequest.Builder |
resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The search query, using the same formats that are supported for resource group definition.
|
SearchResourcesRequest.Builder |
resourceQuery(ResourceQuery resourceQuery)
The search query, using the same formats that are supported for resource group definition.
|
build
overrideConfiguration
copy
applyMutation, build
SearchResourcesRequest.Builder resourceQuery(ResourceQuery resourceQuery)
The search query, using the same formats that are supported for resource group definition.
resourceQuery
- The search query, using the same formats that are supported for resource group definition.default SearchResourcesRequest.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The search query, using the same formats that are supported for resource group definition.
This is a convenience that creates an instance of theResourceQuery.Builder
avoiding the need to
create one manually via ResourceQuery.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resourceQuery(ResourceQuery)
.resourceQuery
- a consumer that will call methods on ResourceQuery.Builder
resourceQuery(ResourceQuery)
SearchResourcesRequest.Builder maxResults(Integer maxResults)
The maximum number of group member ARNs returned by SearchResources
in paginated output. By
default, this number is 50.
maxResults
- The maximum number of group member ARNs returned by SearchResources
in paginated output.
By default, this number is 50.SearchResourcesRequest.Builder nextToken(String nextToken)
The NextToken value that is returned in a paginated SearchResources
request. To get the next
page of results, run the call again, add the NextToken parameter, and specify the NextToken value.
nextToken
- The NextToken value that is returned in a paginated SearchResources
request. To get the
next page of results, run the call again, add the NextToken parameter, and specify the NextToken
value.SearchResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SearchResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.