Class AppSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AppSummary.Builder,
AppSummary>
Defines an application summary.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
appArn()
Amazon Resource Name (ARN) of the Resilience Hub application.Assessment execution schedule with 'Daily' or 'Disabled' values.final String
Assessment execution schedule with 'Daily' or 'Disabled' values.static AppSummary.Builder
builder()
final AppComplianceStatusType
The current status of compliance for the resiliency policy.final String
The current status of compliance for the resiliency policy.final Instant
Date and time when the app was created.final String
The optional description for an app.final AppDriftStatusType
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.final String
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
Date and time of the most recent compliance evaluation.final String
name()
The name of the application.final Double
The current resiliency score for the application.final Integer
Recovery Point Objective (RPO) in seconds.final Integer
Recovery Time Objective (RTO) in seconds.static Class
<? extends AppSummary.Builder> final AppStatusType
status()
Status of the application.final String
Status of the application.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
-
assessmentSchedule
Assessment execution schedule with 'Daily' or 'Disabled' values.
If the service returns an enum value that is not available in the current SDK version,
assessmentSchedule
will returnAppAssessmentScheduleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassessmentScheduleAsString()
.- Returns:
- Assessment execution schedule with 'Daily' or 'Disabled' values.
- See Also:
-
assessmentScheduleAsString
Assessment execution schedule with 'Daily' or 'Disabled' values.
If the service returns an enum value that is not available in the current SDK version,
assessmentSchedule
will returnAppAssessmentScheduleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassessmentScheduleAsString()
.- Returns:
- Assessment execution schedule with 'Daily' or 'Disabled' values.
- See Also:
-
complianceStatus
The current status of compliance for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatus
will returnAppComplianceStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomplianceStatusAsString()
.- Returns:
- The current status of compliance for the resiliency policy.
- See Also:
-
complianceStatusAsString
The current status of compliance for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatus
will returnAppComplianceStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomplianceStatusAsString()
.- Returns:
- The current status of compliance for the resiliency policy.
- See Also:
-
creationTime
Date and time when the app was created.
- Returns:
- Date and time when the app was created.
-
description
The optional description for an app.
- Returns:
- The optional description for an app.
-
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 returnAppDriftStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdriftStatusAsString()
.- Returns:
- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- See Also:
-
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 returnAppDriftStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdriftStatusAsString()
.- Returns:
- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- See Also:
-
lastAppComplianceEvaluationTime
Date and time of the most recent compliance evaluation.
- Returns:
- Date and time of the most recent compliance evaluation.
-
name
The name of the application.
- Returns:
- The name of the application.
-
resiliencyScore
The current resiliency score for the application.
- Returns:
- The current resiliency score for the application.
-
rpoInSecs
Recovery Point Objective (RPO) in seconds.
- Returns:
- Recovery Point Objective (RPO) in seconds.
-
rtoInSecs
Recovery Time Objective (RTO) in seconds.
- Returns:
- Recovery Time Objective (RTO) in seconds.
-
status
Status of the application.
If the service returns an enum value that is not available in the current SDK version,
status
will returnAppStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of the application.
- See Also:
-
statusAsString
Status of the application.
If the service returns an enum value that is not available in the current SDK version,
status
will returnAppStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of the application.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AppSummary.Builder,
AppSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-