Interface ListResourceScanRelatedResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<ListResourceScanRelatedResourcesRequest.Builder,
,ListResourceScanRelatedResourcesRequest> SdkBuilder<ListResourceScanRelatedResourcesRequest.Builder,
,ListResourceScanRelatedResourcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListResourceScanRelatedResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) If the number of available results exceeds this maximum, the response includes aNextToken
value that you can use for theNextToken
parameter to get the next set of results.A string that identifies the next page of resource scan results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resources
(Collection<ScannedResourceIdentifier> resources) The list of resources for which you want to get the related resources.resources
(Consumer<ScannedResourceIdentifier.Builder>... resources) The list of resources for which you want to get the related resources.resources
(ScannedResourceIdentifier... resources) The list of resources for which you want to get the related resources.resourceScanId
(String resourceScanId) The Amazon Resource Name (ARN) of the resource scan.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
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
-
Method Details
-
resourceScanId
The Amazon Resource Name (ARN) of the resource scan.
- Parameters:
resourceScanId
- The Amazon Resource Name (ARN) of the resource scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListResourceScanRelatedResourcesRequest.Builder resources(Collection<ScannedResourceIdentifier> resources) The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
- Parameters:
resources
- The list of resources for which you want to get the related resources. Up to 100 resources can be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
- Parameters:
resources
- The list of resources for which you want to get the related resources. Up to 100 resources can be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListResourceScanRelatedResourcesRequest.Builder resources(Consumer<ScannedResourceIdentifier.Builder>... resources) The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
This is a convenience method that creates an instance of theScannedResourceIdentifier.Builder
avoiding the need to create one manually viaScannedResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<ScannedResourceIdentifier>)
.- Parameters:
resources
- a consumer that will call methods onScannedResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A string that identifies the next page of resource scan results.
- Parameters:
nextToken
- A string that identifies the next page of resource scan results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can use for theNextToken
parameter to get the next set of results. By default theListResourceScanRelatedResources
API action will return up to 100 results in each response. The maximum value is 100.- Parameters:
maxResults
- If the number of available results exceeds this maximum, the response includes aNextToken
value that you can use for theNextToken
parameter to get the next set of results. By default theListResourceScanRelatedResources
API action will return up to 100 results in each response. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListResourceScanRelatedResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListResourceScanRelatedResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-