Class AppSummary
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.AppSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppSummary.Builder,AppSummary>
@Generated("software.amazon.awssdk:codegen") public final class AppSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppSummary.Builder,AppSummary>
Defines an application summary.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappArn()Amazon Resource Name (ARN) of the Resilience Hub application.AppAssessmentScheduleTypeassessmentSchedule()Assessment execution schedule with 'Daily' or 'Disabled' values.StringassessmentScheduleAsString()Assessment execution schedule with 'Daily' or 'Disabled' values.static AppSummary.Builderbuilder()AppComplianceStatusTypecomplianceStatus()The current status of compliance for the resiliency policy.StringcomplianceStatusAsString()The current status of compliance for the resiliency policy.InstantcreationTime()Date and time when the app was created.Stringdescription()The optional description for an app.AppDriftStatusTypedriftStatus()Indicates if compliance drifts (deviations) were detected while running an assessment for your application.StringdriftStatusAsString()Indicates if compliance drifts (deviations) were detected while running an assessment for your application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastAppComplianceEvaluationTime()Date and time of the most recent compliance evaluation.Stringname()The name of the application.DoubleresiliencyScore()The current resiliency score for the application.IntegerrpoInSecs()Recovery Point Objective (RPO) in seconds.IntegerrtoInSecs()Recovery Time Objective (RTO) in seconds.List<SdkField<?>>sdkFields()static Class<? extends AppSummary.Builder>serializableBuilderClass()AppStatusTypestatus()Status of the application.StringstatusAsString()Status of the application.AppSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
assessmentSchedule
public final AppAssessmentScheduleType 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,
assessmentSchedulewill 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:
AppAssessmentScheduleType
-
assessmentScheduleAsString
public final String 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,
assessmentSchedulewill 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:
AppAssessmentScheduleType
-
complianceStatus
public final AppComplianceStatusType 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,
complianceStatuswill 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:
AppComplianceStatusType
-
complianceStatusAsString
public final String 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,
complianceStatuswill 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:
AppComplianceStatusType
-
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,
driftStatuswill 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:
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,
driftStatuswill 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:
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.
-
status
public final AppStatusType status()
Status of the application.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAppStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the application.
- See Also:
AppStatusType
-
statusAsString
public final String statusAsString()
Status of the application.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAppStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the application.
- See Also:
AppStatusType
-
toBuilder
public AppSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppSummary.Builder,AppSummary>
-
builder
public static AppSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-