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, eitherSecurityorAll.analysisType(AnalysisType analysisType) The type of analysis CodeGuru Security performed in the scan, eitherSecurityorAll.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings.- Parameters:
analysisType- The type of analysis CodeGuru Security performed in the scan, eitherSecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype 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
SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings.- Parameters:
analysisType- The type of analysis CodeGuru Security performed in the scan, eitherSecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype 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
STANDARDscan types.- Parameters:
updatedAt- The time when the scan was last updated. Only available forSTANDARDscan types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-