Interface ResourceScanSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceScanSummary.Builder,ResourceScanSummary>,SdkBuilder<ResourceScanSummary.Builder,ResourceScanSummary>,SdkPojo
- Enclosing class:
- ResourceScanSummary
@Mutable @NotThreadSafe public static interface ResourceScanSummary.Builder extends SdkPojo, CopyableBuilder<ResourceScanSummary.Builder,ResourceScanSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceScanSummary.BuilderendTime(Instant endTime)The time that the resource scan was finished.ResourceScanSummary.BuilderpercentageCompleted(Double percentageCompleted)The percentage of the resource scan that has been completed.ResourceScanSummary.BuilderresourceScanId(String resourceScanId)The Amazon Resource Name (ARN) of the resource scan.ResourceScanSummary.BuilderscanType(String scanType)The scan type that has been completed.ResourceScanSummary.BuilderscanType(ScanType scanType)The scan type that has been completed.ResourceScanSummary.BuilderstartTime(Instant startTime)The time that the resource scan was started.ResourceScanSummary.Builderstatus(String status)Status of the resource scan.ResourceScanSummary.Builderstatus(ResourceScanStatus status)Status of the resource scan.ResourceScanSummary.BuilderstatusReason(String statusReason)The reason for the resource scan status, providing more information if a failure happened.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceScanId
ResourceScanSummary.Builder resourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
- Parameters:
resourceScanId- The Amazon Resource Name (ARN) of the resource scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ResourceScanSummary.Builder status(String status)
Status of the resource scan.
- IN_PROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
- Parameters:
status- Status of the resource scan.- IN_PROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceScanStatus,ResourceScanStatus
-
status
ResourceScanSummary.Builder status(ResourceScanStatus status)
Status of the resource scan.
- IN_PROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
- Parameters:
status- Status of the resource scan.- IN_PROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceScanStatus,ResourceScanStatus
-
statusReason
ResourceScanSummary.Builder statusReason(String statusReason)
The reason for the resource scan status, providing more information if a failure happened.
- Parameters:
statusReason- The reason for the resource scan status, providing more information if a failure happened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
ResourceScanSummary.Builder startTime(Instant startTime)
The time that the resource scan was started.
- Parameters:
startTime- The time that the resource scan was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ResourceScanSummary.Builder endTime(Instant endTime)
The time that the resource scan was finished.
- Parameters:
endTime- The time that the resource scan was finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentageCompleted
ResourceScanSummary.Builder percentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.
- Parameters:
percentageCompleted- The percentage of the resource scan that has been completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanType
ResourceScanSummary.Builder scanType(String scanType)
The scan type that has been completed.
-
scanType
ResourceScanSummary.Builder scanType(ScanType scanType)
The scan type that has been completed.
-
-