Interface SearchResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchResourcesResponse.Builder,
,SearchResourcesResponse> Macie2Response.Builder
,SdkBuilder<SearchResourcesResponse.Builder,
,SearchResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchResourcesResponse
public static interface SearchResourcesResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmatchingResources
(Collection<MatchingResource> matchingResources) An array of objects, one for each resource that matches the filter criteria specified in the request.matchingResources
(Consumer<MatchingResource.Builder>... matchingResources) An array of objects, one for each resource that matches the filter criteria specified in the request.matchingResources
(MatchingResource... matchingResources) An array of objects, one for each resource that matches the filter criteria specified in the request.The string to use in a subsequent request to get the next page of results in a paginated response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
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 Details
-
matchingResources
An array of objects, one for each resource that matches the filter criteria specified in the request.
- Parameters:
matchingResources
- An array of objects, one for each resource that matches the filter criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingResources
An array of objects, one for each resource that matches the filter criteria specified in the request.
- Parameters:
matchingResources
- An array of objects, one for each resource that matches the filter criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingResources
SearchResourcesResponse.Builder matchingResources(Consumer<MatchingResource.Builder>... matchingResources) An array of objects, one for each resource that matches the filter criteria specified in the request.
This is a convenience method that creates an instance of theMatchingResource.Builder
avoiding the need to create one manually viaMatchingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchingResources(List<MatchingResource>)
.- Parameters:
matchingResources
- a consumer that will call methods onMatchingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-