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,NextTokenis set to a token.resources(Collection<ScannedResource> resources) List of up toMaxResultsresources in the specified resource scan that match all of the specified filters.resources(Consumer<ScannedResource.Builder>... resources) List of up toMaxResultsresources in the specified resource scan that match all of the specified filters.resources(ScannedResource... resources) List of up toMaxResultsresources 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, 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resources
List of up to
MaxResultsresources in the specified resource scan that match all of the specified filters.- Parameters:
resources- List of up toMaxResultsresources 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
MaxResultsresources in the specified resource scan that match all of the specified filters.- Parameters:
resources- List of up toMaxResultsresources 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 theMaxResultsresources in the specified resource scan that match all of the specified filters.ScannedResource.Builderavoiding the need to create one manually viaScannedResource.builder().When the
Consumercompletes,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,
NextTokenis set to a token. To retrieve the next set of results, callListResourceScanResourcesagain and use that value for theNextTokenparameter. If the request returns all results,NextTokenis set to an empty string.- Parameters:
nextToken- If the request doesn't return all the remaining results,NextTokenis set to a token. To retrieve the next set of results, callListResourceScanResourcesagain and use that value for theNextTokenparameter. If the request returns all results,NextTokenis set to an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-