public static interface CreateScanRequest.Builder extends CodeGuruSecurityRequest.Builder, SdkPojo, CopyableBuilder<CreateScanRequest.Builder,CreateScanRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateScanRequest.Builder |
analysisType(AnalysisType analysisType)
The type of analysis you want CodeGuru Security to perform in the scan, either
Security or
All. |
CreateScanRequest.Builder |
analysisType(String analysisType)
The type of analysis you want CodeGuru Security to perform in the scan, either
Security or
All. |
CreateScanRequest.Builder |
clientToken(String clientToken)
The idempotency token for the request.
|
CreateScanRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateScanRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateScanRequest.Builder |
resourceId(Consumer<ResourceId.Builder> resourceId)
The identifier for an input resource used to create a scan.
|
CreateScanRequest.Builder |
resourceId(ResourceId resourceId)
The identifier for an input resource used to create a scan.
|
CreateScanRequest.Builder |
scanName(String scanName)
The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource.
|
CreateScanRequest.Builder |
scanType(ScanType scanType)
The type of scan, either
Standard or Express. |
CreateScanRequest.Builder |
scanType(String scanType)
The type of scan, either
Standard or Express. |
CreateScanRequest.Builder |
tags(Map<String,String> tags)
An array of key-value pairs used to tag a scan.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateScanRequest.Builder analysisType(String analysisType)
The type of analysis you want CodeGuru Security to perform in the scan, either Security or
All. The Secuirty type only generates findings related to security. The
All type generates both security findings and quality findings. Defaults to
Security type if missing.
analysisType - The type of analysis you want CodeGuru Security to perform in the scan, either Security
or All. The Secuirty type only generates findings related to security. The
All type generates both security findings and quality findings. Defaults to
Security type if missing.AnalysisType,
AnalysisTypeCreateScanRequest.Builder analysisType(AnalysisType analysisType)
The type of analysis you want CodeGuru Security to perform in the scan, either Security or
All. The Secuirty type only generates findings related to security. The
All type generates both security findings and quality findings. Defaults to
Security type if missing.
analysisType - The type of analysis you want CodeGuru Security to perform in the scan, either Security
or All. The Secuirty type only generates findings related to security. The
All type generates both security findings and quality findings. Defaults to
Security type if missing.AnalysisType,
AnalysisTypeCreateScanRequest.Builder clientToken(String clientToken)
The idempotency token for the request. Amazon CodeGuru Security uses this value to prevent the accidental creation of duplicate scans if there are failures and retries.
clientToken - The idempotency token for the request. Amazon CodeGuru Security uses this value to prevent the
accidental creation of duplicate scans if there are failures and retries.CreateScanRequest.Builder resourceId(ResourceId resourceId)
The identifier for an input resource used to create a scan.
resourceId - The identifier for an input resource used to create a scan.default CreateScanRequest.Builder resourceId(Consumer<ResourceId.Builder> resourceId)
The identifier for an input resource used to create a scan.
This is a convenience method that creates an instance of theResourceId.Builder avoiding the need to
create one manually via ResourceId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to resourceId(ResourceId).
resourceId - a consumer that will call methods on ResourceId.BuilderresourceId(ResourceId)CreateScanRequest.Builder scanName(String scanName)
The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource.
Only allowed for a STANDARD scan type. If not specified, it will be auto generated.
scanName - The unique name that CodeGuru Security uses to track revisions across multiple scans of the same
resource. Only allowed for a STANDARD scan type. If not specified, it will be auto
generated.CreateScanRequest.Builder scanType(String scanType)
The type of scan, either Standard or Express. Defaults to Standard
type if missing.
Express scans run on limited resources and use a limited set of detectors to analyze your code
in near-real time. Standard scans have standard resource limits and use the full set of
detectors to analyze your code.
scanType - The type of scan, either Standard or Express. Defaults to
Standard type if missing.
Express scans run on limited resources and use a limited set of detectors to analyze your
code in near-real time. Standard scans have standard resource limits and use the full set
of detectors to analyze your code.
ScanType,
ScanTypeCreateScanRequest.Builder scanType(ScanType scanType)
The type of scan, either Standard or Express. Defaults to Standard
type if missing.
Express scans run on limited resources and use a limited set of detectors to analyze your code
in near-real time. Standard scans have standard resource limits and use the full set of
detectors to analyze your code.
scanType - The type of scan, either Standard or Express. Defaults to
Standard type if missing.
Express scans run on limited resources and use a limited set of detectors to analyze your
code in near-real time. Standard scans have standard resource limits and use the full set
of detectors to analyze your code.
ScanType,
ScanTypeCreateScanRequest.Builder tags(Map<String,String> tags)
An array of key-value pairs used to tag a scan. A tag is a custom attribute label with two parts:
A tag key. For example, CostCenter, Environment, or Secret. Tag keys
are case sensitive.
An optional tag value field. For example, 111122223333, Production, or a team name.
Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
tags - An array of key-value pairs used to tag a scan. A tag is a custom attribute label with two parts:
A tag key. For example, CostCenter, Environment, or Secret. Tag
keys are case sensitive.
An optional tag value field. For example, 111122223333, Production, or a
team name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
CreateScanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateScanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.