Interface CreateCodeSecurityScanConfigurationRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateCodeSecurityScanConfigurationRequest.Builder,,- CreateCodeSecurityScanConfigurationRequest> - Inspector2Request.Builder,- SdkBuilder<CreateCodeSecurityScanConfigurationRequest.Builder,,- CreateCodeSecurityScanConfigurationRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateCodeSecurityScanConfigurationRequest
- 
Method SummaryModifier and TypeMethodDescriptionconfiguration(Consumer<CodeSecurityScanConfiguration.Builder> configuration) The configuration settings for the code security scan.configuration(CodeSecurityScanConfiguration configuration) The configuration settings for the code security scan.The security level for the scan configuration.level(ConfigurationLevel level) The security level for the scan configuration.The name of the scan configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scopeSettings(Consumer<ScopeSettings.Builder> scopeSettings) The scope settings that define which repositories will be scanned.scopeSettings(ScopeSettings scopeSettings) The scope settings that define which repositories will be scanned.The tags to apply to the scan configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the scan configuration. - Parameters:
- name- The name of the scan configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
levelThe security level for the scan configuration. - Parameters:
- level- The security level for the scan configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
levelThe security level for the scan configuration. - Parameters:
- level- The security level for the scan configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
configurationCreateCodeSecurityScanConfigurationRequest.Builder configuration(CodeSecurityScanConfiguration configuration) The configuration settings for the code security scan. - Parameters:
- configuration- The configuration settings for the code security scan.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationdefault CreateCodeSecurityScanConfigurationRequest.Builder configuration(Consumer<CodeSecurityScanConfiguration.Builder> configuration) The configuration settings for the code security scan. This is a convenience method that creates an instance of theCodeSecurityScanConfiguration.Builderavoiding the need to create one manually viaCodeSecurityScanConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(CodeSecurityScanConfiguration).- Parameters:
- configuration- a consumer that will call methods on- CodeSecurityScanConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scopeSettingsThe scope settings that define which repositories will be scanned. Include this parameter to create a default scan configuration. Otherwise Amazon Inspector creates a general scan configuration. A default scan configuration automatically applies to all existing and future projects imported into Amazon Inspector. Use the BatchAssociateCodeSecurityScanConfigurationoperation to associate a general scan configuration with projects.- Parameters:
- scopeSettings- The scope settings that define which repositories will be scanned. Include this parameter to create a default scan configuration. Otherwise Amazon Inspector creates a general scan configuration.- A default scan configuration automatically applies to all existing and future projects imported into Amazon Inspector. Use the - BatchAssociateCodeSecurityScanConfigurationoperation to associate a general scan configuration with projects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scopeSettingsdefault CreateCodeSecurityScanConfigurationRequest.Builder scopeSettings(Consumer<ScopeSettings.Builder> scopeSettings) The scope settings that define which repositories will be scanned. Include this parameter to create a default scan configuration. Otherwise Amazon Inspector creates a general scan configuration. A default scan configuration automatically applies to all existing and future projects imported into Amazon Inspector. Use the This is a convenience method that creates an instance of theBatchAssociateCodeSecurityScanConfigurationoperation to associate a general scan configuration with projects.ScopeSettings.Builderavoiding the need to create one manually viaScopeSettings.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeSettings(ScopeSettings).- Parameters:
- scopeSettings- a consumer that will call methods on- ScopeSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags to apply to the scan configuration. - Parameters:
- tags- The tags to apply to the scan configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateCodeSecurityScanConfigurationRequest.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.
 
- 
overrideConfigurationCreateCodeSecurityScanConfigurationRequest.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.
 
 
-