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 SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
scanNameThe 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.
 
- 
runIdUUID 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.
 
- 
scanStateThe current state of the scan. Returns either InProgress,Successful, orFailed.- Parameters:
- scanState- The current state of the scan. Returns either- InProgress,- Successful, or- Failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanStateThe current state of the scan. Returns either InProgress,Successful, orFailed.- Parameters:
- scanState- The current state of the scan. Returns either- InProgress,- Successful, or- Failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdAtThe 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.
 
- 
analysisTypeThe 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, either- Securityor- All. The- Securitytype only generates findings related to security. The- Alltype generates both security findings and quality findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
analysisTypeThe 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, either- Securityor- All. The- Securitytype only generates findings related to security. The- Alltype generates both security findings and quality findings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
updatedAtThe time when the scan was last updated. Only available for STANDARDscan types.- Parameters:
- updatedAt- The time when the scan was last updated. Only available for- STANDARDscan types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
numberOfRevisionsThe 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.
 
- 
scanNameArnThe 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.
 
- 
errorMessageDetails 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.
 
 
-