@Generated(value="software.amazon.awssdk:codegen") public final class ScanSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScanSummary.Builder,ScanSummary>
Information about a scan.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScanSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScanSummary.Builder |
builder() |
Instant |
createdAt()
The time when the scan was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
runId()
The identifier for the scan run.
|
String |
scanName()
The name of the scan.
|
String |
scanNameArn()
The ARN for the scan name.
|
ScanState |
scanState()
The state of the scan.
|
String |
scanStateAsString()
The state of the scan.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScanSummary.Builder> |
serializableBuilderClass() |
ScanSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The time the scan was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The time when the scan was created.
public final String runId()
The identifier for the scan run.
public final String scanName()
The name of the scan.
public final String scanNameArn()
The ARN for the scan name.
public final ScanState scanState()
The state of the scan. A scan can be In Progress, Complete, or Failed.
If the service returns an enum value that is not available in the current SDK version, scanState will
return ScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanStateAsString().
In Progress, Complete, or
Failed.ScanStatepublic final String scanStateAsString()
The state of the scan. A scan can be In Progress, Complete, or Failed.
If the service returns an enum value that is not available in the current SDK version, scanState will
return ScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanStateAsString().
In Progress, Complete, or
Failed.ScanStatepublic final Instant updatedAt()
The time the scan was last updated. A scan is updated when it is re-run.
public ScanSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScanSummary.Builder,ScanSummary>public static ScanSummary.Builder builder()
public static Class<? extends ScanSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.