Interface GetScanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruSecurityResponse.Builder
,CopyableBuilder<GetScanResponse.Builder,
,GetScanResponse> SdkBuilder<GetScanResponse.Builder,
,GetScanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetScanResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalysisType
(String analysisType) The type of analysis CodeGuru Security performed in the scan, eitherSecurity
orAll
.analysisType
(AnalysisType analysisType) The type of analysis CodeGuru Security performed in the scan, eitherSecurity
orAll
.The time the scan was created.errorMessage
(String errorMessage) Details about the error that causes a scan to fail to be retrieved.numberOfRevisions
(Long numberOfRevisions) The number of times a scan has been re-run on a revised resource.UUID that identifies the individual scan run.The name of the scan.scanNameArn
(String scanNameArn) The ARN for the scan name.The current state of the scan.The current state of the scan.The time when the scan was last updated.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
analysisType
The type of analysis CodeGuru Security performed in the scan, either
Security
orAll
. TheSecurity
type only generates findings related to security. TheAll
type generates both security findings and quality findings.- Parameters:
analysisType
- The type of analysis CodeGuru Security performed in the scan, eitherSecurity
orAll
. TheSecurity
type only generates findings related to security. TheAll
type generates both security findings and quality findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
The type of analysis CodeGuru Security performed in the scan, either
Security
orAll
. TheSecurity
type only generates findings related to security. TheAll
type generates both security findings and quality findings.- Parameters:
analysisType
- The type of analysis CodeGuru Security performed in the scan, eitherSecurity
orAll
. TheSecurity
type only generates findings related to security. TheAll
type generates both security findings and quality findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the scan was created.
- Parameters:
createdAt
- The time the scan was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Details about the error that causes a scan to fail to be retrieved.
- Parameters:
errorMessage
- Details about the error that causes a scan to fail to be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfRevisions
The number of times a scan has been re-run on a revised resource.
- Parameters:
numberOfRevisions
- The number of times a scan has been re-run on a revised resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
UUID that identifies the individual scan run.
- Parameters:
runId
- UUID that identifies the individual scan run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanName
The name of the scan.
- Parameters:
scanName
- The name of the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanNameArn
The ARN for the scan name.
- Parameters:
scanNameArn
- The ARN for the scan name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanState
The current state of the scan. Returns either
InProgress
,Successful
, orFailed
.- Parameters:
scanState
- The current state of the scan. Returns eitherInProgress
,Successful
, orFailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanState
The current state of the scan. Returns either
InProgress
,Successful
, orFailed
.- Parameters:
scanState
- The current state of the scan. Returns eitherInProgress
,Successful
, orFailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The time when the scan was last updated. Only available for
STANDARD
scan types.- Parameters:
updatedAt
- The time when the scan was last updated. Only available forSTANDARD
scan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-