@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppAssessment extends Object implements Serializable, Cloneable, StructuredPojo
Defines an application assessment.
Constructor and Description |
---|
AppAssessment() |
Modifier and Type | Method and Description |
---|---|
AppAssessment |
addComplianceEntry(String key,
DisruptionCompliance value)
Add a single Compliance entry
|
AppAssessment |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AppAssessment |
clearComplianceEntries()
Removes all the entries added into Compliance.
|
AppAssessment |
clearTagsEntries()
Removes all the entries added into Tags.
|
AppAssessment |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
Amazon Resource Name (ARN) of the Resilience Hub application.
|
String |
getAppVersion()
Version of an application.
|
String |
getAssessmentArn()
Amazon Resource Name (ARN) of the assessment.
|
String |
getAssessmentName()
Name of the assessment.
|
String |
getAssessmentStatus()
Current status of the assessment for the resiliency policy.
|
Map<String,DisruptionCompliance> |
getCompliance()
Application compliance against the resiliency policy.
|
String |
getComplianceStatus()
Current status of the compliance for the resiliency policy.
|
Cost |
getCost()
Cost for the application.
|
String |
getDriftStatus()
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
Date |
getEndTime()
End time for the action.
|
String |
getInvoker()
The entity that invoked the assessment.
|
String |
getMessage()
Error or warning message from the assessment execution
|
ResiliencyPolicy |
getPolicy()
Resiliency policy of an application.
|
ResiliencyScore |
getResiliencyScore()
Current resiliency score for an application.
|
ResourceErrorsDetails |
getResourceErrorsDetails()
A resource error object containing a list of errors retrieving an application's resources.
|
Date |
getStartTime()
Starting time for the action.
|
Map<String,String> |
getTags()
Tags assigned to the resource.
|
String |
getVersionName()
Version name of the published 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 |
setAppVersion(String appVersion)
Version of an application.
|
void |
setAssessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment.
|
void |
setAssessmentName(String assessmentName)
Name of the assessment.
|
void |
setAssessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
|
void |
setCompliance(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
|
void |
setComplianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
|
void |
setCost(Cost cost)
Cost for the application.
|
void |
setDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
void |
setEndTime(Date endTime)
End time for the action.
|
void |
setInvoker(String invoker)
The entity that invoked the assessment.
|
void |
setMessage(String message)
Error or warning message from the assessment execution
|
void |
setPolicy(ResiliencyPolicy policy)
Resiliency policy of an application.
|
void |
setResiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
|
void |
setResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
void |
setStartTime(Date startTime)
Starting time for the action.
|
void |
setTags(Map<String,String> tags)
Tags assigned to the resource.
|
void |
setVersionName(String versionName)
Version name of the published application.
|
String |
toString()
Returns a string representation of this object.
|
AppAssessment |
withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
AppAssessment |
withAppVersion(String appVersion)
Version of an application.
|
AppAssessment |
withAssessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment.
|
AppAssessment |
withAssessmentName(String assessmentName)
Name of the assessment.
|
AppAssessment |
withAssessmentStatus(AssessmentStatus assessmentStatus)
Current status of the assessment for the resiliency policy.
|
AppAssessment |
withAssessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
|
AppAssessment |
withCompliance(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
|
AppAssessment |
withComplianceStatus(ComplianceStatus complianceStatus)
Current status of the compliance for the resiliency policy.
|
AppAssessment |
withComplianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
|
AppAssessment |
withCost(Cost cost)
Cost for the application.
|
AppAssessment |
withDriftStatus(DriftStatus driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppAssessment |
withDriftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppAssessment |
withEndTime(Date endTime)
End time for the action.
|
AppAssessment |
withInvoker(AssessmentInvoker invoker)
The entity that invoked the assessment.
|
AppAssessment |
withInvoker(String invoker)
The entity that invoked the assessment.
|
AppAssessment |
withMessage(String message)
Error or warning message from the assessment execution
|
AppAssessment |
withPolicy(ResiliencyPolicy policy)
Resiliency policy of an application.
|
AppAssessment |
withResiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
|
AppAssessment |
withResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
AppAssessment |
withStartTime(Date startTime)
Starting time for the action.
|
AppAssessment |
withTags(Map<String,String> tags)
Tags assigned to the resource.
|
AppAssessment |
withVersionName(String versionName)
Version name of the published 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 AppAssessment 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 setAppVersion(String appVersion)
Version of an application.
appVersion
- Version of an application.public String getAppVersion()
Version of an application.
public AppAssessment withAppVersion(String appVersion)
Version of an application.
appVersion
- Version of an application.public void setAssessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information
about ARNs, see Amazon
Resource Names (ARNs) in the Amazon Web Services General Reference guide.
assessmentArn
- Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public String getAssessmentArn()
Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/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-assessment/app-id
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public AppAssessment withAssessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information
about ARNs, see Amazon
Resource Names (ARNs) in the Amazon Web Services General Reference guide.
assessmentArn
- Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public void setAssessmentName(String assessmentName)
Name of the assessment.
assessmentName
- Name of the assessment.public String getAssessmentName()
Name of the assessment.
public AppAssessment withAssessmentName(String assessmentName)
Name of the assessment.
assessmentName
- Name of the assessment.public void setAssessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
assessmentStatus
- Current status of the assessment for the resiliency policy.AssessmentStatus
public String getAssessmentStatus()
Current status of the assessment for the resiliency policy.
AssessmentStatus
public AppAssessment withAssessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
assessmentStatus
- Current status of the assessment for the resiliency policy.AssessmentStatus
public AppAssessment withAssessmentStatus(AssessmentStatus assessmentStatus)
Current status of the assessment for the resiliency policy.
assessmentStatus
- Current status of the assessment for the resiliency policy.AssessmentStatus
public Map<String,DisruptionCompliance> getCompliance()
Application compliance against the resiliency policy.
public void setCompliance(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
compliance
- Application compliance against the resiliency policy.public AppAssessment withCompliance(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
compliance
- Application compliance against the resiliency policy.public AppAssessment addComplianceEntry(String key, DisruptionCompliance value)
public AppAssessment clearComplianceEntries()
public void setComplianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
complianceStatus
- Current status of the compliance for the resiliency policy.ComplianceStatus
public String getComplianceStatus()
Current status of the compliance for the resiliency policy.
ComplianceStatus
public AppAssessment withComplianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
complianceStatus
- Current status of the compliance for the resiliency policy.ComplianceStatus
public AppAssessment withComplianceStatus(ComplianceStatus complianceStatus)
Current status of the compliance for the resiliency policy.
complianceStatus
- Current status of the compliance for the resiliency policy.ComplianceStatus
public void setCost(Cost cost)
Cost for the application.
cost
- Cost for the application.public Cost getCost()
Cost for the application.
public AppAssessment withCost(Cost cost)
Cost for the application.
cost
- Cost for the application.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.DriftStatus
public String getDriftStatus()
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
DriftStatus
public AppAssessment 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.DriftStatus
public AppAssessment withDriftStatus(DriftStatus 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.DriftStatus
public void setEndTime(Date endTime)
End time for the action.
endTime
- End time for the action.public Date getEndTime()
End time for the action.
public AppAssessment withEndTime(Date endTime)
End time for the action.
endTime
- End time for the action.public void setInvoker(String invoker)
The entity that invoked the assessment.
invoker
- The entity that invoked the assessment.AssessmentInvoker
public String getInvoker()
The entity that invoked the assessment.
AssessmentInvoker
public AppAssessment withInvoker(String invoker)
The entity that invoked the assessment.
invoker
- The entity that invoked the assessment.AssessmentInvoker
public AppAssessment withInvoker(AssessmentInvoker invoker)
The entity that invoked the assessment.
invoker
- The entity that invoked the assessment.AssessmentInvoker
public void setMessage(String message)
Error or warning message from the assessment execution
message
- Error or warning message from the assessment executionpublic String getMessage()
Error or warning message from the assessment execution
public AppAssessment withMessage(String message)
Error or warning message from the assessment execution
message
- Error or warning message from the assessment executionpublic void setPolicy(ResiliencyPolicy policy)
Resiliency policy of an application.
policy
- Resiliency policy of an application.public ResiliencyPolicy getPolicy()
Resiliency policy of an application.
public AppAssessment withPolicy(ResiliencyPolicy policy)
Resiliency policy of an application.
policy
- Resiliency policy of an application.public void setResiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
resiliencyScore
- Current resiliency score for an application.public ResiliencyScore getResiliencyScore()
Current resiliency score for an application.
public AppAssessment withResiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
resiliencyScore
- Current resiliency score for an application.public void setResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
resourceErrorsDetails
- A resource error object containing a list of errors retrieving an application's resources.public ResourceErrorsDetails getResourceErrorsDetails()
A resource error object containing a list of errors retrieving an application's resources.
public AppAssessment withResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
resourceErrorsDetails
- A resource error object containing a list of errors retrieving an application's resources.public void setStartTime(Date startTime)
Starting time for the action.
startTime
- Starting time for the action.public Date getStartTime()
Starting time for the action.
public AppAssessment withStartTime(Date startTime)
Starting time for the action.
startTime
- Starting time for the action.public Map<String,String> getTags()
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
public void setTags(Map<String,String> tags)
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
tags
- Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each
tag consists of a key/value pair.public AppAssessment withTags(Map<String,String> tags)
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
tags
- Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each
tag consists of a key/value pair.public AppAssessment addTagsEntry(String key, String value)
public AppAssessment clearTagsEntries()
public void setVersionName(String versionName)
Version name of the published application.
versionName
- Version name of the published application.public String getVersionName()
Version name of the published application.
public AppAssessment withVersionName(String versionName)
Version name of the published application.
versionName
- Version name of the published application.public String toString()
toString
in class Object
Object.toString()
public AppAssessment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.