Interface CodeRepositoryOnDemandScan.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CodeRepositoryOnDemandScan.Builder,,- CodeRepositoryOnDemandScan> - SdkBuilder<CodeRepositoryOnDemandScan.Builder,,- CodeRepositoryOnDemandScan> - SdkPojo
- Enclosing class:
- CodeRepositoryOnDemandScan
@Mutable
@NotThreadSafe
public static interface CodeRepositoryOnDemandScan.Builder
extends SdkPojo, CopyableBuilder<CodeRepositoryOnDemandScan.Builder,CodeRepositoryOnDemandScan> 
- 
Method SummaryModifier and TypeMethodDescriptionlastScanAt(Instant lastScanAt) The timestamp when the last on-demand scan was performed.lastScannedCommitId(String lastScannedCommitId) The ID of the last commit that was scanned during an on-demand scan.scanStatus(Consumer<ScanStatus.Builder> scanStatus) Sets the value of the ScanStatus property for this object.scanStatus(ScanStatus scanStatus) Sets the value of the ScanStatus property for this object.Methods 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, sdkFields
- 
Method Details- 
lastScannedCommitIdThe ID of the last commit that was scanned during an on-demand scan. - Parameters:
- lastScannedCommitId- The ID of the last commit that was scanned during an on-demand scan.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lastScanAtThe timestamp when the last on-demand scan was performed. - Parameters:
- lastScanAt- The timestamp when the last on-demand scan was performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scanStatusSets the value of the ScanStatus property for this object.- Parameters:
- scanStatus- The new value for the ScanStatus property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scanStatusSets the value of the ScanStatus property for this object. This is a convenience method that creates an instance of theScanStatus.Builderavoiding the need to create one manually viaScanStatus.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanStatus(ScanStatus).- Parameters:
- scanStatus- a consumer that will call methods on- ScanStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-