@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppSummary extends Object implements Serializable, Cloneable, StructuredPojo
Defines an application summary.
Constructor and Description |
---|
AppSummary() |
Modifier and Type | Method and Description |
---|---|
AppSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
Amazon Resource Name (ARN) of the Resilience Hub application.
|
String |
getAssessmentSchedule()
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
String |
getComplianceStatus()
The current status of compliance for the resiliency policy.
|
Date |
getCreationTime()
Date and time when the app was created.
|
String |
getDescription()
The optional description for an app.
|
String |
getDriftStatus()
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
Date |
getLastAppComplianceEvaluationTime()
Date and time of the most recent compliance evaluation.
|
String |
getName()
The name of the application.
|
Double |
getResiliencyScore()
The current resiliency score for the application.
|
Integer |
getRpoInSecs()
Recovery Point Objective (RPO) in seconds.
|
Integer |
getRtoInSecs()
Recovery Time Objective (RTO) in seconds.
|
String |
getStatus()
Status of the application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
void |
setAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
void |
setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
void |
setCreationTime(Date creationTime)
Date and time when the app was created.
|
void |
setDescription(String description)
The optional description for an app.
|
void |
setDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
void |
setLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
Date and time of the most recent compliance evaluation.
|
void |
setName(String name)
The name of the application.
|
void |
setResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
void |
setRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
|
void |
setRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
|
void |
setStatus(String status)
Status of the application.
|
String |
toString()
Returns a string representation of this object.
|
AppSummary |
withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
AppSummary |
withAssessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
AppSummary |
withAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
AppSummary |
withComplianceStatus(AppComplianceStatusType complianceStatus)
The current status of compliance for the resiliency policy.
|
AppSummary |
withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
AppSummary |
withCreationTime(Date creationTime)
Date and time when the app was created.
|
AppSummary |
withDescription(String description)
The optional description for an app.
|
AppSummary |
withDriftStatus(AppDriftStatusType driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppSummary |
withDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppSummary |
withLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
Date and time of the most recent compliance evaluation.
|
AppSummary |
withName(String name)
The name of the application.
|
AppSummary |
withResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
AppSummary |
withRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
|
AppSummary |
withRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
|
AppSummary |
withStatus(AppStatusType status)
Status of the application.
|
AppSummary |
withStatus(String status)
Status of the application.
|
public void setAppArn(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.
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.public String getAppArn()
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.
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.public AppSummary withAppArn(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.
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.public void setAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public String getAssessmentSchedule()
Assessment execution schedule with 'Daily' or 'Disabled' values.
AppAssessmentScheduleType
public AppSummary withAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public AppSummary withAssessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public void setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.AppComplianceStatusType
public String getComplianceStatus()
The current status of compliance for the resiliency policy.
AppComplianceStatusType
public AppSummary withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.AppComplianceStatusType
public AppSummary withComplianceStatus(AppComplianceStatusType complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.AppComplianceStatusType
public void setCreationTime(Date creationTime)
Date and time when the app was created.
creationTime
- Date and time when the app was created.public Date getCreationTime()
Date and time when the app was created.
public AppSummary withCreationTime(Date creationTime)
Date and time when the app was created.
creationTime
- Date and time when the app was created.public void setDescription(String description)
The optional description for an app.
description
- The optional description for an app.public String getDescription()
The optional description for an app.
public AppSummary withDescription(String description)
The optional description for an app.
description
- The optional description for an app.public void setDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus
- Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.AppDriftStatusType
public String getDriftStatus()
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
AppDriftStatusType
public AppSummary withDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus
- Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.AppDriftStatusType
public AppSummary withDriftStatus(AppDriftStatusType driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus
- Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.AppDriftStatusType
public void setLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
Date and time of the most recent compliance evaluation.
lastAppComplianceEvaluationTime
- Date and time of the most recent compliance evaluation.public Date getLastAppComplianceEvaluationTime()
Date and time of the most recent compliance evaluation.
public AppSummary withLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
Date and time of the most recent compliance evaluation.
lastAppComplianceEvaluationTime
- Date and time of the most recent compliance evaluation.public void setName(String name)
The name of the application.
name
- The name of the application.public String getName()
The name of the application.
public AppSummary withName(String name)
The name of the application.
name
- The name of the application.public void setResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
resiliencyScore
- The current resiliency score for the application.public Double getResiliencyScore()
The current resiliency score for the application.
public AppSummary withResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
resiliencyScore
- The current resiliency score for the application.public void setRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
rpoInSecs
- Recovery Point Objective (RPO) in seconds.public Integer getRpoInSecs()
Recovery Point Objective (RPO) in seconds.
public AppSummary withRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
rpoInSecs
- Recovery Point Objective (RPO) in seconds.public void setRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
rtoInSecs
- Recovery Time Objective (RTO) in seconds.public Integer getRtoInSecs()
Recovery Time Objective (RTO) in seconds.
public AppSummary withRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
rtoInSecs
- Recovery Time Objective (RTO) in seconds.public void setStatus(String status)
Status of the application.
status
- Status of the application.AppStatusType
public String getStatus()
Status of the application.
AppStatusType
public AppSummary withStatus(String status)
Status of the application.
status
- Status of the application.AppStatusType
public AppSummary withStatus(AppStatusType status)
Status of the application.
status
- Status of the application.AppStatusType
public String toString()
toString
in class Object
Object.toString()
public AppSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.