Interface GetPitrMalwareScanResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<GetPitrMalwareScanResultsResponse.Builder,,GetPitrMalwareScanResultsResponse> SdkBuilder<GetPitrMalwareScanResultsResponse.Builder,,GetPitrMalwareScanResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPitrMalwareScanResultsResponse
@Mutable
@NotThreadSafe
public static interface GetPitrMalwareScanResultsResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetPitrMalwareScanResultsResponse.Builder,GetPitrMalwareScanResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlastScanJobTime(Instant lastScanJobTime) The completion time of the most recent scan job that covered the specified point in time.scanEndTime(Instant scanEndTime) The point in time that was queried.The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.Specifies the scan type used for the scan job.Specifies the scan type used for the scan job.scanResult(Consumer<ScanResultInfo.Builder> scanResult) Contains theScanResultStatusfor the scan and returnsTHREATS_FOUND,NO_THREATS_FOUND, orUNKNOWN.scanResult(ScanResultInfo scanResult) Contains theScanResultStatusfor the scan and returnsTHREATS_FOUND,NO_THREATS_FOUND, orUNKNOWN.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scanEndTime
The point in time that was queried. This echoes back the time specified in the request.
- Parameters:
scanEndTime- The point in time that was queried. This echoes back the time specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanResult
Contains the
ScanResultStatusfor the scan and returnsTHREATS_FOUND,NO_THREATS_FOUND, orUNKNOWN.- Parameters:
scanResult- Contains theScanResultStatusfor the scan and returnsTHREATS_FOUND,NO_THREATS_FOUND, orUNKNOWN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanResult
default GetPitrMalwareScanResultsResponse.Builder scanResult(Consumer<ScanResultInfo.Builder> scanResult) Contains the
This is a convenience method that creates an instance of theScanResultStatusfor the scan and returnsTHREATS_FOUND,NO_THREATS_FOUND, orUNKNOWN.ScanResultInfo.Builderavoiding the need to create one manually viaScanResultInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanResult(ScanResultInfo).- Parameters:
scanResult- a consumer that will call methods onScanResultInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastScanJobTime
The completion time of the most recent scan job that covered the specified point in time.
- Parameters:
lastScanJobTime- The completion time of the most recent scan job that covered the specified point in time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanId
The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.
- Parameters:
scanId- The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanMode
Specifies the scan type used for the scan job.
- Parameters:
scanMode- Specifies the scan type used for the scan job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanMode
Specifies the scan type used for the scan job.
- Parameters:
scanMode- Specifies the scan type used for the scan job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-