Class ExternalEvaluation

    • Method Detail

      • complianceResourceType

        public final String complianceResourceType()

        The evaluated compliance resource type. Config accepts AWS::::Account resource type.

        Returns:
        The evaluated compliance resource type. Config accepts AWS::::Account resource type.
      • complianceResourceId

        public final String complianceResourceId()

        The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.

        Returns:
        The evaluated compliance resource ID. Config accepts only Amazon Web Services account ID.
      • complianceType

        public final ComplianceType complianceType()

        The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

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

        Returns:
        The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
        See Also:
        ComplianceType
      • complianceTypeAsString

        public final String complianceTypeAsString()

        The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

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

        Returns:
        The compliance of the Amazon Web Services resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
        See Also:
        ComplianceType
      • annotation

        public final String annotation()

        Supplementary information about the reason of compliance. For example, this task was completed on a specific date.

        Returns:
        Supplementary information about the reason of compliance. For example, this task was completed on a specific date.
      • orderingTimestamp

        public final Instant orderingTimestamp()

        The time when the compliance was recorded.

        Returns:
        The time when the compliance was recorded.
      • 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)