@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()
The Amazon Resource Name (ARN) of the application.
|
String |
getAssessmentSchedule()
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
String |
getComplianceStatus()
The current status of compliance for the resiliency policy.
|
Date |
getCreationTime()
The timestamp for when the app was created.
|
String |
getDescription()
The optional description for an app.
|
String |
getName()
The name of the application.
|
Double |
getResiliencyScore()
The current resiliency score for the application.
|
String |
getStatus()
The status of the application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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)
The timestamp for when the app was created.
|
void |
setDescription(String description)
The optional description for an app.
|
void |
setName(String name)
The name of the application.
|
void |
setResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
void |
setStatus(String status)
The status of the application.
|
String |
toString()
Returns a string representation of this object.
|
AppSummary |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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)
The timestamp for when the app was created.
|
AppSummary |
withDescription(String description)
The optional description for an app.
|
AppSummary |
withName(String name)
The name of the application.
|
AppSummary |
withResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
AppSummary |
withStatus(AppStatusType status)
The status of the application.
|
AppSummary |
withStatus(String status)
The status of the application.
|
public void setAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
appArn
- The Amazon Resource Name (ARN) of the 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 AWS General Reference.public String getAppArn()
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
partition
:resiliencehub:region
:account
:app/app-id
. For more information
about ARNs, see
Amazon Resource Names (ARNs) in the AWS General Reference.public AppSummary withAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
appArn
- The Amazon Resource Name (ARN) of the 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 AWS General Reference.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)
The timestamp for when the app was created.
creationTime
- The timestamp for when the app was created.public Date getCreationTime()
The timestamp for when the app was created.
public AppSummary withCreationTime(Date creationTime)
The timestamp for when the app was created.
creationTime
- The timestamp for 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 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 setStatus(String status)
The status of the application.
status
- The status of the application.AppStatusType
public String getStatus()
The status of the application.
AppStatusType
public AppSummary withStatus(String status)
The status of the application.
status
- The status of the application.AppStatusType
public AppSummary withStatus(AppStatusType status)
The status of the application.
status
- The 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.