Class AppSummary

    • Method Detail

      • appArn

        public final String appArn()

        Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

        Returns:
        Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
      • creationTime

        public final Instant creationTime()

        Date and time when the app was created.

        Returns:
        Date and time when the app was created.
      • description

        public final String description()

        The optional description for an app.

        Returns:
        The optional description for an app.
      • driftStatus

        public final AppDriftStatusType driftStatus()

        Indicates if compliance drifts (deviations) were detected while running an assessment for your application.

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

        Returns:
        Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
        See Also:
        AppDriftStatusType
      • driftStatusAsString

        public final String driftStatusAsString()

        Indicates if compliance drifts (deviations) were detected while running an assessment for your application.

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

        Returns:
        Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
        See Also:
        AppDriftStatusType
      • lastAppComplianceEvaluationTime

        public final Instant lastAppComplianceEvaluationTime()

        Date and time of the most recent compliance evaluation.

        Returns:
        Date and time of the most recent compliance evaluation.
      • name

        public final String name()

        The name of the application.

        Returns:
        The name of the application.
      • resiliencyScore

        public final Double resiliencyScore()

        The current resiliency score for the application.

        Returns:
        The current resiliency score for the application.
      • rpoInSecs

        public final Integer rpoInSecs()

        Recovery Point Objective (RPO) in seconds.

        Returns:
        Recovery Point Objective (RPO) in seconds.
      • rtoInSecs

        public final Integer rtoInSecs()

        Recovery Time Objective (RTO) in seconds.

        Returns:
        Recovery Time Objective (RTO) in seconds.
      • 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)