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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceScanRelatedResourcesResponse.BuildernextToken(String nextToken)If the request doesn't return all the remaining results,NextTokenis set to a token.ListResourceScanRelatedResourcesResponse.BuilderrelatedResources(Collection<ScannedResource> relatedResources)List of up toMaxResultsresources in the specified resource scan related to the specified resources.ListResourceScanRelatedResourcesResponse.BuilderrelatedResources(Consumer<ScannedResource.Builder>... relatedResources)List of up toMaxResultsresources in the specified resource scan related to the specified resources.ListResourceScanRelatedResourcesResponse.BuilderrelatedResources(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, 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
-
relatedResources
ListResourceScanRelatedResourcesResponse.Builder relatedResources(Collection<ScannedResource> relatedResources)
List of up to
MaxResultsresources in the specified resource scan related to the specified resources.- Parameters:
relatedResources- List of up toMaxResultsresources in the specified resource scan related to the specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedResources
ListResourceScanRelatedResourcesResponse.Builder relatedResources(ScannedResource... relatedResources)
List of up to
MaxResultsresources in the specified resource scan related to the specified resources.- Parameters:
relatedResources- List of up toMaxResultsresources in the specified resource scan related to the specified resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedResources
ListResourceScanRelatedResourcesResponse.Builder relatedResources(Consumer<ScannedResource.Builder>... relatedResources)
List of up to
This is a convenience method that creates an instance of theMaxResultsresources in the specified resource scan related to the specified resources.ScannedResource.Builderavoiding the need to create one manually viaScannedResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedResources(List.) - Parameters:
relatedResources- 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:
#relatedResources(java.util.Collection)
-
nextToken
ListResourceScanRelatedResourcesResponse.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, 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.
-
-