Class CheckDetail

    • Method Detail

      • id

        public final String id()

        Trusted Advisor check ID.

        Returns:
        Trusted Advisor check ID.
      • name

        public final String name()

        Trusted Advisor check name.

        Returns:
        Trusted Advisor check name.
      • description

        public final String description()

        Trusted Advisor check description.

        Returns:
        Trusted Advisor check description.
      • provider

        public final CheckProvider provider()

        Provider of the check related to the best practice.

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

        Returns:
        Provider of the check related to the best practice.
        See Also:
        CheckProvider
      • providerAsString

        public final String providerAsString()

        Provider of the check related to the best practice.

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

        Returns:
        Provider of the check related to the best practice.
        See Also:
        CheckProvider
      • lensArn

        public final String lensArn()

        Well-Architected Lens ARN associated to the check.

        Returns:
        Well-Architected Lens ARN associated to the check.
      • pillarId

        public final String pillarId()
        Returns the value of the PillarId property for this object.
        Returns:
        The value of the PillarId property for this object.
      • questionId

        public final String questionId()
        Returns the value of the QuestionId property for this object.
        Returns:
        The value of the QuestionId property for this object.
      • choiceId

        public final String choiceId()
        Returns the value of the ChoiceId property for this object.
        Returns:
        The value of the ChoiceId property for this object.
      • statusAsString

        public final String statusAsString()

        Status associated to the check.

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

        Returns:
        Status associated to the check.
        See Also:
        CheckStatus
      • accountId

        public final String accountId()
        Returns the value of the AccountId property for this object.
        Returns:
        The value of the AccountId property for this object.
      • flaggedResources

        public final Integer flaggedResources()

        Count of flagged resources associated to the check.

        Returns:
        Count of flagged resources associated to the check.
      • updatedAt

        public final Instant updatedAt()
        Returns the value of the UpdatedAt property for this object.
        Returns:
        The value of the UpdatedAt property for this object.
      • 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)