Interface CodeSecurityScanConfigurationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeSecurityScanConfigurationSummary.Builder,
,CodeSecurityScanConfigurationSummary> SdkBuilder<CodeSecurityScanConfigurationSummary.Builder,
,CodeSecurityScanConfigurationSummary> SdkPojo
- Enclosing class:
CodeSecurityScanConfigurationSummary
-
Method Summary
Modifier and TypeMethodDescriptioncontinuousIntegrationScanSupportedEvents
(Collection<ContinuousIntegrationScanEvent> continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.continuousIntegrationScanSupportedEvents
(ContinuousIntegrationScanEvent... continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.continuousIntegrationScanSupportedEventsWithStrings
(String... continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.continuousIntegrationScanSupportedEventsWithStrings
(Collection<String> continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.frequencyExpression
(String frequencyExpression) The schedule expression for periodic scans, in cron format.The name of the scan configuration.ownerAccountId
(String ownerAccountId) The Amazon Web Services account ID that owns the scan configuration.periodicScanFrequency
(String periodicScanFrequency) The frequency at which periodic scans are performed.periodicScanFrequency
(PeriodicScanFrequency periodicScanFrequency) The frequency at which periodic scans are performed.ruleSetCategories
(Collection<RuleSetCategory> ruleSetCategories) The categories of security rules applied during the scan.ruleSetCategories
(RuleSetCategory... ruleSetCategories) The categories of security rules applied during the scan.ruleSetCategoriesWithStrings
(String... ruleSetCategories) The categories of security rules applied during the scan.ruleSetCategoriesWithStrings
(Collection<String> ruleSetCategories) The categories of security rules applied during the scan.scanConfigurationArn
(String scanConfigurationArn) The Amazon Resource Name (ARN) of the scan 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 associated with the scan configuration.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 Details
-
continuousIntegrationScanSupportedEventsWithStrings
CodeSecurityScanConfigurationSummary.Builder continuousIntegrationScanSupportedEventsWithStrings(Collection<String> continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.
- Parameters:
continuousIntegrationScanSupportedEvents
- The repository events that trigger continuous integration scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continuousIntegrationScanSupportedEventsWithStrings
CodeSecurityScanConfigurationSummary.Builder continuousIntegrationScanSupportedEventsWithStrings(String... continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.
- Parameters:
continuousIntegrationScanSupportedEvents
- The repository events that trigger continuous integration scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continuousIntegrationScanSupportedEvents
CodeSecurityScanConfigurationSummary.Builder continuousIntegrationScanSupportedEvents(Collection<ContinuousIntegrationScanEvent> continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.
- Parameters:
continuousIntegrationScanSupportedEvents
- The repository events that trigger continuous integration scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continuousIntegrationScanSupportedEvents
CodeSecurityScanConfigurationSummary.Builder continuousIntegrationScanSupportedEvents(ContinuousIntegrationScanEvent... continuousIntegrationScanSupportedEvents) The repository events that trigger continuous integration scans.
- Parameters:
continuousIntegrationScanSupportedEvents
- The repository events that trigger continuous integration scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frequencyExpression
The schedule expression for periodic scans, in cron format.
- Parameters:
frequencyExpression
- The schedule expression for periodic scans, in cron format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The 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.
-
ownerAccountId
The Amazon Web Services account ID that owns the scan configuration.
- Parameters:
ownerAccountId
- The Amazon Web Services account ID that owns the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodicScanFrequency
The frequency at which periodic scans are performed.
- Parameters:
periodicScanFrequency
- The frequency at which periodic scans are performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
periodicScanFrequency
CodeSecurityScanConfigurationSummary.Builder periodicScanFrequency(PeriodicScanFrequency periodicScanFrequency) The frequency at which periodic scans are performed.
- Parameters:
periodicScanFrequency
- The frequency at which periodic scans are performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleSetCategoriesWithStrings
CodeSecurityScanConfigurationSummary.Builder ruleSetCategoriesWithStrings(Collection<String> ruleSetCategories) The categories of security rules applied during the scan.
- Parameters:
ruleSetCategories
- The categories of security rules applied during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetCategoriesWithStrings
CodeSecurityScanConfigurationSummary.Builder ruleSetCategoriesWithStrings(String... ruleSetCategories) The categories of security rules applied during the scan.
- Parameters:
ruleSetCategories
- The categories of security rules applied during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetCategories
CodeSecurityScanConfigurationSummary.Builder ruleSetCategories(Collection<RuleSetCategory> ruleSetCategories) The categories of security rules applied during the scan.
- Parameters:
ruleSetCategories
- The categories of security rules applied during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetCategories
CodeSecurityScanConfigurationSummary.Builder ruleSetCategories(RuleSetCategory... ruleSetCategories) The categories of security rules applied during the scan.
- Parameters:
ruleSetCategories
- The categories of security rules applied during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanConfigurationArn
The Amazon Resource Name (ARN) of the scan configuration.
- Parameters:
scanConfigurationArn
- The Amazon Resource Name (ARN) of the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeSettings
The scope settings that define which repositories will be scanned. If the
ScopeSetting
parameter isALL
the scan configuration applies to all existing and future projects imported into Amazon Inspector.- Parameters:
scopeSettings
- The scope settings that define which repositories will be scanned. If theScopeSetting
parameter isALL
the scan configuration applies to all existing and future projects imported into Amazon Inspector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeSettings
default CodeSecurityScanConfigurationSummary.Builder scopeSettings(Consumer<ScopeSettings.Builder> scopeSettings) The scope settings that define which repositories will be scanned. If the
This is a convenience method that creates an instance of theScopeSetting
parameter isALL
the scan configuration applies to all existing and future projects imported into Amazon Inspector.ScopeSettings.Builder
avoiding the need to create one manually viaScopeSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscopeSettings(ScopeSettings)
.- Parameters:
scopeSettings
- a consumer that will call methods onScopeSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the scan configuration.
- Parameters:
tags
- The tags associated with the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-