Class ScanSummary
- java.lang.Object
-
- software.amazon.awssdk.services.codegurusecurity.model.ScanSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScanSummary.Builder,ScanSummary>
@Generated("software.amazon.awssdk:codegen") public final class ScanSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScanSummary.Builder,ScanSummary>
Information about a scan.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScanSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScanSummary.Builderbuilder()InstantcreatedAt()The time when the scan was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrunId()The identifier for the scan run.StringscanName()The name of the scan.StringscanNameArn()The ARN for the scan name.ScanStatescanState()The state of the scan.StringscanStateAsString()The state of the scan.List<SdkField<?>>sdkFields()static Class<? extends ScanSummary.Builder>serializableBuilderClass()ScanSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time the scan was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The time when the scan was created.
- Returns:
- The time when the scan was created.
-
runId
public final String runId()
The identifier for the scan run.
- Returns:
- The identifier for the scan run.
-
scanName
public final String scanName()
The name of the scan.
- Returns:
- The name of the scan.
-
scanNameArn
public final String scanNameArn()
The ARN for the scan name.
- Returns:
- The ARN for the scan name.
-
scanState
public final ScanState scanState()
The state of the scan. A scan can be
In Progress,Complete, orFailed.If the service returns an enum value that is not available in the current SDK version,
scanStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStateAsString().- Returns:
- The state of the scan. A scan can be
In Progress,Complete, orFailed. - See Also:
ScanState
-
scanStateAsString
public final String scanStateAsString()
The state of the scan. A scan can be
In Progress,Complete, orFailed.If the service returns an enum value that is not available in the current SDK version,
scanStatewill returnScanState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStateAsString().- Returns:
- The state of the scan. A scan can be
In Progress,Complete, orFailed. - See Also:
ScanState
-
updatedAt
public final Instant updatedAt()
The time the scan was last updated. A scan is updated when it is re-run.
- Returns:
- The time the scan was last updated. A scan is updated when it is re-run.
-
toBuilder
public ScanSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScanSummary.Builder,ScanSummary>
-
builder
public static ScanSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScanSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-