Interface ListResourceScanResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<ListResourceScanResourcesResponse.Builder,ListResourceScanResourcesResponse>,SdkBuilder<ListResourceScanResourcesResponse.Builder,ListResourceScanResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourceScanResourcesResponse
@Mutable @NotThreadSafe public static interface ListResourceScanResourcesResponse.Builder extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ListResourceScanResourcesResponse.Builder,ListResourceScanResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceScanResourcesResponse.BuildernextToken(String nextToken)If the request doesn't return all the remaining results,NextTokenis set to a token.ListResourceScanResourcesResponse.Builderresources(Collection<ScannedResource> resources)List of up toMaxResultsresources in the specified resource scan that match all of the specified filters.ListResourceScanResourcesResponse.Builderresources(Consumer<ScannedResource.Builder>... resources)List of up toMaxResultsresources in the specified resource scan that match all of the specified filters.ListResourceScanResourcesResponse.Builderresources(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, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resources
ListResourceScanResourcesResponse.Builder resources(Collection<ScannedResource> 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
ListResourceScanResourcesResponse.Builder resources(ScannedResource... 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
ListResourceScanResourcesResponse.Builder resources(Consumer<ScannedResource.Builder>... 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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
nextToken
ListResourceScanResourcesResponse.Builder nextToken(String 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.
-
-