Class SeverityUpdate

    • Method Detail

      • normalized

        public final Integer normalized()

        The normalized severity for the finding. This attribute is to be deprecated in favor of Label.

        If you provide Normalized and do not provide Label, Label is set automatically as follows.

        • 0 - INFORMATIONAL

        • 1–39 - LOW

        • 40–69 - MEDIUM

        • 70–89 - HIGH

        • 90–100 - CRITICAL

        Returns:
        The normalized severity for the finding. This attribute is to be deprecated in favor of Label.

        If you provide Normalized and do not provide Label, Label is set automatically as follows.

        • 0 - INFORMATIONAL

        • 1–39 - LOW

        • 40–69 - MEDIUM

        • 70–89 - HIGH

        • 90–100 - CRITICAL

      • product

        public final Double product()

        The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.

        Returns:
        The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
      • label

        public final SeverityLabel label()

        The severity value of the finding. The allowed values are the following.

        • INFORMATIONAL - No issue was found.

        • LOW - The issue does not require action on its own.

        • MEDIUM - The issue must be addressed but not urgently.

        • HIGH - The issue must be addressed as a priority.

        • CRITICAL - The issue must be remediated immediately to avoid it escalating.

        If the service returns an enum value that is not available in the current SDK version, label will return SeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from labelAsString().

        Returns:
        The severity value of the finding. The allowed values are the following.

        • INFORMATIONAL - No issue was found.

        • LOW - The issue does not require action on its own.

        • MEDIUM - The issue must be addressed but not urgently.

        • HIGH - The issue must be addressed as a priority.

        • CRITICAL - The issue must be remediated immediately to avoid it escalating.

        See Also:
        SeverityLabel
      • labelAsString

        public final String labelAsString()

        The severity value of the finding. The allowed values are the following.

        • INFORMATIONAL - No issue was found.

        • LOW - The issue does not require action on its own.

        • MEDIUM - The issue must be addressed but not urgently.

        • HIGH - The issue must be addressed as a priority.

        • CRITICAL - The issue must be remediated immediately to avoid it escalating.

        If the service returns an enum value that is not available in the current SDK version, label will return SeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from labelAsString().

        Returns:
        The severity value of the finding. The allowed values are the following.

        • INFORMATIONAL - No issue was found.

        • LOW - The issue does not require action on its own.

        • MEDIUM - The issue must be addressed but not urgently.

        • HIGH - The issue must be addressed as a priority.

        • CRITICAL - The issue must be remediated immediately to avoid it escalating.

        See Also:
        SeverityLabel
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)