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
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
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.
-
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.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 onCodeSecurityScanConfiguration.Builder- 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:
-
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:
-
scopeSettings
The scope settings that define which repositories will be scanned. If the
ScopeSettingparameter isALLthe 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 theScopeSettingparameter isALLthe 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 theScopeSettingparameter isALLthe scan configuration applies to all existing and future projects imported into Amazon Inspector.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 onScopeSettings.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.
-
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.
-