Class CodeScanData
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeScanData.Builder,CodeScanData>
Complete customer-visible data for one environment scan.
Kept distinct from CodeScanSummary so GetCodeScan can grow independently of ListCodeScans without changing its response contract.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeScanData.Builderbuilder()final InstantTime at which a terminal result was recorded.final InstantTime at which Continuum accepted the scan request.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringFailure detail present for unsuccessful scans.final ScanFailureStagePhase this scan failed in.final StringPhase this scan failed in.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ScanOriginorigin()Why the scan was created.final StringWhy the scan was created.final StringThe unique scan identifier.static Class<? extends CodeScanData.Builder> final ScanStatusstatus()Current customer-visible status.final StringCurrent customer-visible status.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scanRunId
-
status
Current customer-visible status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Current customer-visible status.
- See Also:
-
statusAsString
Current customer-visible status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Current customer-visible status.
- See Also:
-
origin
Why the scan was created. Always present.
If the service returns an enum value that is not available in the current SDK version,
originwill returnScanOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Why the scan was created. Always present.
- See Also:
-
originAsString
Why the scan was created. Always present.
If the service returns an enum value that is not available in the current SDK version,
originwill returnScanOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Why the scan was created. Always present.
- See Also:
-
createdAt
Time at which Continuum accepted the scan request.
- Returns:
- Time at which Continuum accepted the scan request.
-
completedAt
Time at which a terminal result was recorded.
- Returns:
- Time at which a terminal result was recorded.
-
failureMessage
Failure detail present for unsuccessful scans.
- Returns:
- Failure detail present for unsuccessful scans.
-
failureStage
Phase this scan failed in. Present only when
statusis FAILED, and absent for a scan that failed before this field existed.If the service returns an enum value that is not available in the current SDK version,
failureStagewill returnScanFailureStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureStageAsString().- Returns:
- Phase this scan failed in. Present only when
statusis FAILED, and absent for a scan that failed before this field existed. - See Also:
-
failureStageAsString
Phase this scan failed in. Present only when
statusis FAILED, and absent for a scan that failed before this field existed.If the service returns an enum value that is not available in the current SDK version,
failureStagewill returnScanFailureStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureStageAsString().- Returns:
- Phase this scan failed in. Present only when
statusis FAILED, and absent for a scan that failed before this field existed. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeScanData.Builder,CodeScanData> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-