Class IssueSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IssueSummary.Builder,IssueSummary>
A summary of an issue returned in list responses.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IssueSummary.Builderbuilder()final IntegerThe likelihood that this issue is a true positive, expressed as a percentage (0-100).final InstantThe timestamp when the issue was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringissueArn()The ARN of the issue.final StringissueId()The unique identifier of the issue.final Stringname()The name of the issue.final IssuePhasephase()The part of the workflow the issue is in.final StringThe part of the workflow the issue is in.static Class<? extends IssueSummary.Builder> final IssueSeverityseverity()Scanner-derived severity assigned to the issue.final StringScanner-derived severity assigned to the issue.final IssueStatusstatus()The current lifecycle status of the issue.final StringThe current lifecycle status of the issue.final StringCustomer-facing explanation of statusReason.final IssueStatusReasonWhy the issue failed.final StringWhy the issue failed.final InstantThe timestamp when the status or phase last changed.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.final InstantThe timestamp when any field of the issue last changed.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
issueId
The unique identifier of the issue.
- Returns:
- The unique identifier of the issue.
-
issueArn
-
name
-
severity
Scanner-derived severity assigned to the issue.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnIssueSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- Scanner-derived severity assigned to the issue.
- See Also:
-
severityAsString
Scanner-derived severity assigned to the issue.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnIssueSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- Scanner-derived severity assigned to the issue.
- See Also:
-
confidence
The likelihood that this issue is a true positive, expressed as a percentage (0-100).
- Returns:
- The likelihood that this issue is a true positive, expressed as a percentage (0-100).
-
status
The current lifecycle status of the issue.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnIssueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current lifecycle status of the issue.
- See Also:
-
statusAsString
The current lifecycle status of the issue.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnIssueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current lifecycle status of the issue.
- See Also:
-
phase
The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
If the service returns an enum value that is not available in the current SDK version,
phasewill returnIssuePhase.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphaseAsString().- Returns:
- The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
- See Also:
-
phaseAsString
The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
If the service returns an enum value that is not available in the current SDK version,
phasewill returnIssuePhase.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphaseAsString().- Returns:
- The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
- See Also:
-
statusReason
Why the issue failed. Present only when status is FAILED.
If the service returns an enum value that is not available in the current SDK version,
statusReasonwill returnIssueStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusReasonAsString().- Returns:
- Why the issue failed. Present only when status is FAILED.
- See Also:
-
statusReasonAsString
Why the issue failed. Present only when status is FAILED.
If the service returns an enum value that is not available in the current SDK version,
statusReasonwill returnIssueStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusReasonAsString().- Returns:
- Why the issue failed. Present only when status is FAILED.
- See Also:
-
statusMessage
Customer-facing explanation of statusReason. Present only when status is FAILED.
- Returns:
- Customer-facing explanation of statusReason. Present only when status is FAILED.
-
statusUpdatedAt
The timestamp when the status or phase last changed.
- Returns:
- The timestamp when the status or phase last changed.
-
createdAt
The timestamp when the issue was created.
- Returns:
- The timestamp when the issue was created.
-
updatedAt
The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
- Returns:
- The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
-
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<IssueSummary.Builder,IssueSummary> - 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.
-