Interface GetOnDemandScanStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOnDemandScanStatusResponse.Builder,,GetOnDemandScanStatusResponse> Inspector2Response.Builder,SdkBuilder<GetOnDemandScanStatusResponse.Builder,,GetOnDemandScanStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetOnDemandScanStatusResponse
@Mutable
@NotThreadSafe
public static interface GetOnDemandScanStatusResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetOnDemandScanStatusResponse.Builder,GetOnDemandScanStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompletedAt(Instant completedAt) The date and time, in ISO 8601 format, when the on-demand scan completed.resourceId(String resourceId) The ID of the resource that was scanned.resourceType(String resourceType) The type of the resource that was scanned.resourceType(OnDemandResourceType resourceType) The type of the resource that was scanned.The unique identifier of the on-demand scan.scanStatus(String scanStatus) The current status of the on-demand scan.scanStatus(OnDemandScanStatus scanStatus) The current status of the on-demand scan.scanStatusReason(String scanStatusReason) The reason associated with the current on-demand scan status.scanStatusReason(OnDemandScanStatusReason scanStatusReason) The reason associated with the current on-demand scan status.The date and time, in ISO 8601 format, when the on-demand scan started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
scanId
The unique identifier of the on-demand scan.
- Parameters:
scanId- The unique identifier of the on-demand scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource that was scanned.
- Parameters:
resourceId- The ID of the resource that was scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource that was scanned.
- Parameters:
resourceType- The type of the resource that was scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the resource that was scanned.
- Parameters:
resourceType- The type of the resource that was scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanStatus
The current status of the on-demand scan.
- Parameters:
scanStatus- The current status of the on-demand scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanStatus
The current status of the on-demand scan.
- Parameters:
scanStatus- The current status of the on-demand scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanStatusReason
The reason associated with the current on-demand scan status.
- Parameters:
scanStatusReason- The reason associated with the current on-demand scan status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanStatusReason
The reason associated with the current on-demand scan status.
- Parameters:
scanStatusReason- The reason associated with the current on-demand scan status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The date and time, in ISO 8601 format, when the on-demand scan started.
- Parameters:
startedAt- The date and time, in ISO 8601 format, when the on-demand scan started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The date and time, in ISO 8601 format, when the on-demand scan completed. This field is absent if the scan has not completed.
- Parameters:
completedAt- The date and time, in ISO 8601 format, when the on-demand scan completed. This field is absent if the scan has not completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-