Interface GetScanResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruSecurityResponse.Builder,CopyableBuilder<GetScanResponse.Builder,GetScanResponse>,SdkBuilder<GetScanResponse.Builder,GetScanResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetScanResponse
public static interface GetScanResponse.Builder extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<GetScanResponse.Builder,GetScanResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetScanResponse.BuilderanalysisType(String analysisType)The type of analysis CodeGuru Security performed in the scan, eitherSecurityorAll.GetScanResponse.BuilderanalysisType(AnalysisType analysisType)The type of analysis CodeGuru Security performed in the scan, eitherSecurityorAll.GetScanResponse.BuildercreatedAt(Instant createdAt)The time the scan was created.GetScanResponse.BuildernumberOfRevisions(Long numberOfRevisions)The number of times a scan has been re-run on a revised resource.GetScanResponse.BuilderrunId(String runId)UUID that identifies the individual scan run.GetScanResponse.BuilderscanName(String scanName)The name of the scan.GetScanResponse.BuilderscanNameArn(String scanNameArn)The ARN for the scan name.GetScanResponse.BuilderscanState(String scanState)The current state of the scan.GetScanResponse.BuilderscanState(ScanState scanState)The current state of the scan.GetScanResponse.BuilderupdatedAt(Instant updatedAt)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 Detail
-
analysisType
GetScanResponse.Builder analysisType(String 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,AnalysisType
-
analysisType
GetScanResponse.Builder analysisType(AnalysisType 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,AnalysisType
-
createdAt
GetScanResponse.Builder createdAt(Instant 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.
-
numberOfRevisions
GetScanResponse.Builder numberOfRevisions(Long 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
GetScanResponse.Builder runId(String 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
GetScanResponse.Builder scanName(String 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
GetScanResponse.Builder scanNameArn(String 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
GetScanResponse.Builder scanState(String scanState)
The current state of the scan. Pass either
InProgress,Successful, orFailed.
-
scanState
GetScanResponse.Builder scanState(ScanState scanState)
The current state of the scan. Pass either
InProgress,Successful, orFailed.
-
updatedAt
GetScanResponse.Builder updatedAt(Instant 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.
-
-