Class RecommendationItem

    • Method Detail

      • alreadyImplemented

        public final Boolean alreadyImplemented()

        Specifies if the recommendation has already been implemented.

        Returns:
        Specifies if the recommendation has already been implemented.
      • discoveredAlarm

        public final Alarm discoveredAlarm()

        Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.

        Returns:
        Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.
      • excluded

        public final Boolean excluded()

        Indicates if an operational recommendation item is excluded.

        Returns:
        Indicates if an operational recommendation item is excluded.
      • latestDiscoveredExperiment

        public final Experiment latestDiscoveredExperiment()

        Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.

        Returns:
        Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.
      • resourceId

        public final String resourceId()

        Identifier of the resource.

        Returns:
        Identifier of the resource.
      • targetAccountId

        public final String targetAccountId()

        Identifier of the target account.

        Returns:
        Identifier of the target account.
      • targetRegion

        public final String targetRegion()

        The target region.

        Returns:
        The target region.
      • 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)