Interface CreateScanRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CodeGuruSecurityRequest.Builder,- CopyableBuilder<CreateScanRequest.Builder,,- CreateScanRequest> - SdkBuilder<CreateScanRequest.Builder,,- CreateScanRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateScanRequest
- 
Method SummaryModifier and TypeMethodDescriptionanalysisType(String analysisType) The type of analysis you want CodeGuru Security to perform in the scan, eitherSecurityorAll.analysisType(AnalysisType analysisType) The type of analysis you want CodeGuru Security to perform in the scan, eitherSecurityorAll.clientToken(String clientToken) The idempotency token for the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateScanRequest.BuilderresourceId(Consumer<ResourceId.Builder> resourceId) The identifier for the resource object to be scanned.resourceId(ResourceId resourceId) The identifier for the resource object to be scanned.The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource.The type of scan, eitherStandardorExpress.The type of scan, eitherStandardorExpress.An array of key-value pairs used to tag a scan.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceIdThe identifier for the resource object to be scanned. - Parameters:
- resourceId- The identifier for the resource object to be scanned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceIdThe identifier for the resource object to be scanned. This is a convenience method that creates an instance of theResourceId.Builderavoiding the need to create one manually viaResourceId.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceId(ResourceId).- Parameters:
- resourceId- a consumer that will call methods on- ResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanNameThe unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARDscan type.- Parameters:
- scanName- The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a- STANDARDscan type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scanTypeThe type of scan, either StandardorExpress. Defaults toStandardtype if missing.Expressscans run on limited resources and use a limited set of detectors to analyze your code in near-real time.Standardscans have standard resource limits and use the full set of detectors to analyze your code.- Parameters:
- scanType- The type of scan, either- Standardor- Express. Defaults to- Standardtype if missing.- Expressscans run on limited resources and use a limited set of detectors to analyze your code in near-real time.- Standardscans have standard resource limits and use the full set of detectors to analyze your code.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanTypeThe type of scan, either StandardorExpress. Defaults toStandardtype if missing.Expressscans run on limited resources and use a limited set of detectors to analyze your code in near-real time.Standardscans have standard resource limits and use the full set of detectors to analyze your code.- Parameters:
- scanType- The type of scan, either- Standardor- Express. Defaults to- Standardtype if missing.- Expressscans run on limited resources and use a limited set of detectors to analyze your code in near-real time.- Standardscans have standard resource limits and use the full set of detectors to analyze your code.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
analysisTypeThe type of analysis you want CodeGuru Security to perform in the scan, either SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings. Defaults toSecuritytype if missing.- Parameters:
- analysisType- The type of analysis you want CodeGuru Security to perform in the scan, either- Securityor- All. The- Securitytype only generates findings related to security. The- Alltype generates both security findings and quality findings. Defaults to- Securitytype if missing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
analysisTypeThe type of analysis you want CodeGuru Security to perform in the scan, either SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings. Defaults toSecuritytype if missing.- Parameters:
- analysisType- The type of analysis you want CodeGuru Security to perform in the scan, either- Securityor- All. The- Securitytype only generates findings related to security. The- Alltype generates both security findings and quality findings. Defaults to- Securitytype if missing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsAn 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, orSecret. 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.
 - Parameters:
- 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, orSecret. 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.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
overrideConfigurationCreateScanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateScanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-