Interface ListResourceScanRelatedResourcesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<ListResourceScanRelatedResourcesRequest.Builder,ListResourceScanRelatedResourcesRequest>,SdkBuilder<ListResourceScanRelatedResourcesRequest.Builder,ListResourceScanRelatedResourcesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListResourceScanRelatedResourcesRequest
public static interface ListResourceScanRelatedResourcesRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<ListResourceScanRelatedResourcesRequest.Builder,ListResourceScanRelatedResourcesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceScanRelatedResourcesRequest.BuildermaxResults(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.ListResourceScanRelatedResourcesRequest.BuildernextToken(String nextToken)A string that identifies the next page of resource scan results.ListResourceScanRelatedResourcesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListResourceScanRelatedResourcesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListResourceScanRelatedResourcesRequest.Builderresources(Collection<ScannedResourceIdentifier> resources)The list of resources for which you want to get the related resources.ListResourceScanRelatedResourcesRequest.Builderresources(Consumer<ScannedResourceIdentifier.Builder>... resources)The list of resources for which you want to get the related resources.ListResourceScanRelatedResourcesRequest.Builderresources(ScannedResourceIdentifier... resources)The list of resources for which you want to get the related resources.ListResourceScanRelatedResourcesRequest.BuilderresourceScanId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceScanId
ListResourceScanRelatedResourcesRequest.Builder resourceScanId(String 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
ListResourceScanRelatedResourcesRequest.Builder resources(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
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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
nextToken
ListResourceScanRelatedResourcesRequest.Builder nextToken(String 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
ListResourceScanRelatedResourcesRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListResourceScanRelatedResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-