Interface CodeSecurityScanConfigurationSummary.Builder

  • 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

      CodeSecurityScanConfigurationSummary.Builder frequencyExpression(String 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

      CodeSecurityScanConfigurationSummary.Builder ownerAccountId(String 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

      CodeSecurityScanConfigurationSummary.Builder periodicScanFrequency(String 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

      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

      CodeSecurityScanConfigurationSummary.Builder scanConfigurationArn(String 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 is ALL 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 the ScopeSetting parameter is ALL 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

      The scope settings that define which repositories will be scanned. If the ScopeSetting parameter is ALL the scan configuration applies to all existing and future projects imported into Amazon Inspector.

      This is a convenience method that creates an instance of the ScopeSettings.Builder avoiding the need to create one manually via ScopeSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scopeSettings(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:
    • 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.