Interface ListResourceScanResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<ListResourceScanResourcesResponse.Builder,
,ListResourceScanResourcesResponse> SdkBuilder<ListResourceScanResourcesResponse.Builder,
,ListResourceScanResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResourceScanResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all the remaining results,NextToken
is set to a token.resources
(Collection<ScannedResource> resources) List of up toMaxResults
resources in the specified resource scan that match all of the specified filters.resources
(Consumer<ScannedResource.Builder>... resources) List of up toMaxResults
resources in the specified resource scan that match all of the specified filters.resources
(ScannedResource... resources) List of up toMaxResults
resources in the specified resource scan that match all of the specified filters.Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.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 Details
-
resources
List of up to
MaxResults
resources in the specified resource scan that match all of the specified filters.- Parameters:
resources
- List of up toMaxResults
resources in the specified resource scan that match all of the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
List of up to
MaxResults
resources in the specified resource scan that match all of the specified filters.- Parameters:
resources
- List of up toMaxResults
resources in the specified resource scan that match all of the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
List of up to
This is a convenience method that creates an instance of theMaxResults
resources in the specified resource scan that match all of the specified filters.ScannedResource.Builder
avoiding the need to create one manually viaScannedResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<ScannedResource>)
.- Parameters:
resources
- a consumer that will call methods onScannedResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the request doesn't return all the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListResourceScanResources
again and use that value for theNextToken
parameter. If the request returns all results,NextToken
is set to an empty string.- Parameters:
nextToken
- If the request doesn't return all the remaining results,NextToken
is set to a token. To retrieve the next set of results, callListResourceScanResources
again and use that value for theNextToken
parameter. If the request returns all results,NextToken
is set to an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-