Interface ListResourceScanRelatedResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<ListResourceScanRelatedResourcesResponse.Builder,,ListResourceScanRelatedResourcesResponse> SdkBuilder<ListResourceScanRelatedResourcesResponse.Builder,,ListResourceScanRelatedResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResourceScanRelatedResourcesResponse
public static interface ListResourceScanRelatedResourcesResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ListResourceScanRelatedResourcesResponse.Builder,ListResourceScanRelatedResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all the remaining results,NextTokenis set to a token.relatedResources(Collection<ScannedResource> relatedResources) List of up toMaxResultsresources in the specified resource scan related to the specified resources.relatedResources(Consumer<ScannedResource.Builder>... relatedResources) List of up toMaxResultsresources in the specified resource scan related to the specified resources.relatedResources(ScannedResource... relatedResources) List of up toMaxResultsresources in the specified resource scan related to the specified resources.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
-
nextToken
If the request doesn't return all the remaining results,
NextTokenis set to a token. To retrieve the next set of results, callListResourceScanRelatedResourcesagain 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, callListResourceScanRelatedResourcesagain 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.