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,NextToken
is set to a token.relatedResources
(Collection<ScannedResource> relatedResources) List of up toMaxResults
resources in the specified resource scan related to the specified resources.relatedResources
(Consumer<ScannedResource.Builder>... relatedResources) List of up toMaxResults
resources in the specified resource scan related to the specified resources.relatedResources
(ScannedResource... relatedResources) List of up toMaxResults
resources in the specified resource scan related to the specified resources.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
-
nextToken
If the request doesn't return all the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListResourceScanRelatedResources
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, callListResourceScanRelatedResources
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.