Interface ResourceScanSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceScanSummary.Builder,ResourceScanSummary>
,SdkBuilder<ResourceScanSummary.Builder,ResourceScanSummary>
,SdkPojo
- Enclosing class:
- ResourceScanSummary
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.Builder
endTime(Instant endTime)
The time that the resource scan was finished.ResourceScanSummary.Builder
percentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.ResourceScanSummary.Builder
resourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.ResourceScanSummary.Builder
startTime(Instant startTime)
The time that the resource scan was started.ResourceScanSummary.Builder
status(String status)
Status of the resource scan.ResourceScanSummary.Builder
status(ResourceScanStatus status)
Status of the resource scan.ResourceScanSummary.Builder
statusReason(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, 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.
- INPROGRESS
-
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.- INPROGRESS
-
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.
- INPROGRESS
-
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.- INPROGRESS
-
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.
-
-