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 aNextTokenvalue that you can use for theNextTokenparameter 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
buildMethods 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, 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.Builderavoiding the need to create one manually viaScannedResourceIdentifier.builder().When the
Consumercompletes,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
NextTokenvalue that you can use for theNextTokenparameter to get the next set of results. By default theListResourceScanRelatedResourcesAPI 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 aNextTokenvalue that you can use for theNextTokenparameter to get the next set of results. By default theListResourceScanRelatedResourcesAPI 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-