@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()
The Amazon Resource Name (ARN) of the application.
|
String |
getAppVersion()
The version of the application.
|
String |
getAssessmentArn()
The Amazon Resource Name (ARN) of the assessment.
|
String |
getAssessmentName()
The name of the assessment.
|
String |
getAssessmentStatus()
The current status of the assessment for the resiliency policy.
|
Map<String,DisruptionCompliance> |
getCompliance()
The application compliance against the resiliency policy.
|
String |
getComplianceStatus()
The current status of the compliance for the resiliency policy.
|
Cost |
getCost()
The cost for the application.
|
Date |
getEndTime()
The 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()
The resiliency policy.
|
ResiliencyScore |
getResiliencyScore()
The current resiliency score for the application.
|
ResourceErrorsDetails |
getResourceErrorsDetails()
A resource error object containing a list of errors retrieving an application's resources.
|
Date |
getStartTime()
The starting time for the action.
|
Map<String,String> |
getTags()
The tags assigned to the resource.
|
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 |
setAppVersion(String appVersion)
The version of the application.
|
void |
setAssessmentArn(String assessmentArn)
The Amazon Resource Name (ARN) of the assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the assessment.
|
void |
setAssessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
|
void |
setCompliance(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
|
void |
setComplianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
|
void |
setCost(Cost cost)
The cost for the application.
|
void |
setEndTime(Date endTime)
The 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)
The resiliency policy.
|
void |
setResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
|
void |
setResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
void |
setStartTime(Date startTime)
The starting time for the action.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
AppAssessment |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
AppAssessment |
withAppVersion(String appVersion)
The version of the application.
|
AppAssessment |
withAssessmentArn(String assessmentArn)
The Amazon Resource Name (ARN) of the assessment.
|
AppAssessment |
withAssessmentName(String assessmentName)
The name of the assessment.
|
AppAssessment |
withAssessmentStatus(AssessmentStatus assessmentStatus)
The current status of the assessment for the resiliency policy.
|
AppAssessment |
withAssessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
|
AppAssessment |
withCompliance(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
|
AppAssessment |
withComplianceStatus(ComplianceStatus complianceStatus)
The current status of the compliance for the resiliency policy.
|
AppAssessment |
withComplianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
|
AppAssessment |
withCost(Cost cost)
The cost for the application.
|
AppAssessment |
withEndTime(Date endTime)
The 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)
The resiliency policy.
|
AppAssessment |
withResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
|
AppAssessment |
withResourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
AppAssessment |
withStartTime(Date startTime)
The starting time for the action.
|
AppAssessment |
withTags(Map<String,String> tags)
The tags assigned to the resource.
|
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 AppAssessment 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 setAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public String getAppVersion()
The version of the application.
public AppAssessment withAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public void setAssessmentArn(String assessmentArn)
The 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 AWS General Reference.
assessmentArn
- The 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 AWS General Reference.public String getAssessmentArn()
The 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 AWS General Reference.
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public AppAssessment withAssessmentArn(String assessmentArn)
The 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 AWS General Reference.
assessmentArn
- The 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 AWS General Reference.public void setAssessmentName(String assessmentName)
The name of the assessment.
assessmentName
- The name of the assessment.public String getAssessmentName()
The name of the assessment.
public AppAssessment withAssessmentName(String assessmentName)
The name of the assessment.
assessmentName
- The name of the assessment.public void setAssessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public String getAssessmentStatus()
The current status of the assessment for the resiliency policy.
AssessmentStatus
public AppAssessment withAssessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public AppAssessment withAssessmentStatus(AssessmentStatus assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public Map<String,DisruptionCompliance> getCompliance()
The application compliance against the resiliency policy.
public void setCompliance(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
compliance
- The application compliance against the resiliency policy.public AppAssessment withCompliance(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
compliance
- The application compliance against the resiliency policy.public AppAssessment addComplianceEntry(String key, DisruptionCompliance value)
public AppAssessment clearComplianceEntries()
public void setComplianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
complianceStatus
- The current status of the compliance for the resiliency policy.ComplianceStatus
public String getComplianceStatus()
The current status of the compliance for the resiliency policy.
ComplianceStatus
public AppAssessment withComplianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
complianceStatus
- The current status of the compliance for the resiliency policy.ComplianceStatus
public AppAssessment withComplianceStatus(ComplianceStatus complianceStatus)
The current status of the compliance for the resiliency policy.
complianceStatus
- The current status of the compliance for the resiliency policy.ComplianceStatus
public void setCost(Cost cost)
The cost for the application.
cost
- The cost for the application.public Cost getCost()
The cost for the application.
public AppAssessment withCost(Cost cost)
The cost for the application.
cost
- The cost for the application.public void setEndTime(Date endTime)
The end time for the action.
endTime
- The end time for the action.public Date getEndTime()
The end time for the action.
public AppAssessment withEndTime(Date endTime)
The end time for the action.
endTime
- The 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)
The resiliency policy.
policy
- The resiliency policy.public ResiliencyPolicy getPolicy()
The resiliency policy.
public AppAssessment withPolicy(ResiliencyPolicy policy)
The resiliency policy.
policy
- The resiliency policy.public void setResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
resiliencyScore
- The current resiliency score for the application.public ResiliencyScore getResiliencyScore()
The current resiliency score for the application.
public AppAssessment withResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
resiliencyScore
- The current resiliency score for the 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)
The starting time for the action.
startTime
- The starting time for the action.public Date getStartTime()
The starting time for the action.
public AppAssessment withStartTime(Date startTime)
The starting time for the action.
startTime
- The starting time for the action.public Map<String,String> getTags()
The 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)
The 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
- The 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)
The 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
- The 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 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.