Interface GetCodeSecurityScanConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCodeSecurityScanConfigurationResponse.Builder,
,GetCodeSecurityScanConfigurationResponse> Inspector2Response.Builder
,SdkBuilder<GetCodeSecurityScanConfigurationResponse.Builder,
,GetCodeSecurityScanConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCodeSecurityScanConfigurationResponse
-
Method Summary
Modifier 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 timestamp when the scan configuration was created.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp when the scan configuration was last updated.The security level for the scan configuration.level
(ConfigurationLevel level) The security level for the scan configuration.The name of the scan configuration.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.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configuration
GetCodeSecurityScanConfigurationResponse.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.
-
configuration
default GetCodeSecurityScanConfigurationResponse.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.Builder
avoiding the need to create one manually viaCodeSecurityScanConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(CodeSecurityScanConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onCodeSecurityScanConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the scan configuration was created.
- Parameters:
createdAt
- The timestamp when the scan configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp when the scan configuration was last updated.
- Parameters:
lastUpdatedAt
- The timestamp when the scan configuration was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level
The 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:
-
level
The 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:
-
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.
-
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 GetCodeSecurityScanConfigurationResponse.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.
-