@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class App extends Object implements Serializable, Cloneable, StructuredPojo
Defines a Resilience Hub application.
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
App |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
App |
clearTagsEntries()
Removes all the entries added into Tags.
|
App |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
The Amazon Resource Name (ARN) of the application.
|
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.
|
Date |
getLastAppComplianceEvaluationTime()
The timestamp for the most recent compliance evaluation.
|
Date |
getLastResiliencyScoreEvaluationTime()
The timestamp for the most recent resiliency score evaluation.
|
String |
getName()
The name for the application.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the resiliency policy.
|
Double |
getResiliencyScore()
The current resiliency score for the application.
|
String |
getStatus()
The status of 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 |
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 |
setLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
The timestamp for the most recent compliance evaluation.
|
void |
setLastResiliencyScoreEvaluationTime(Date lastResiliencyScoreEvaluationTime)
The timestamp for the most recent resiliency score evaluation.
|
void |
setName(String name)
The name for the application.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy.
|
void |
setResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
void |
setStatus(String status)
The status of the action.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
App |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
App |
withComplianceStatus(AppComplianceStatusType complianceStatus)
The current status of compliance for the resiliency policy.
|
App |
withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
App |
withCreationTime(Date creationTime)
The timestamp for when the app was created.
|
App |
withDescription(String description)
The optional description for an app.
|
App |
withLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
The timestamp for the most recent compliance evaluation.
|
App |
withLastResiliencyScoreEvaluationTime(Date lastResiliencyScoreEvaluationTime)
The timestamp for the most recent resiliency score evaluation.
|
App |
withName(String name)
The name for the application.
|
App |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy.
|
App |
withResiliencyScore(Double resiliencyScore)
The current resiliency score for the application.
|
App |
withStatus(AppStatusType status)
The status of the action.
|
App |
withStatus(String status)
The status of the action.
|
App |
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
:dcps:
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
:dcps: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
:dcps:
region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.
partition
:dcps:region
:account
:app/app-id
. For more information about ARNs,
see Amazon Resource
Names (ARNs) in the AWS General Reference.public App withAppArn(String appArn)
The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:dcps:
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
:dcps:region
:account
:app/app-id
. For more information about ARNs,
see Amazon Resource
Names (ARNs) in the AWS General Reference.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 App withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.AppComplianceStatusType
public App 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 App 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 App withDescription(String description)
The optional description for an app.
description
- The optional description for an app.public void setLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
The timestamp for the most recent compliance evaluation.
lastAppComplianceEvaluationTime
- The timestamp for the most recent compliance evaluation.public Date getLastAppComplianceEvaluationTime()
The timestamp for the most recent compliance evaluation.
public App withLastAppComplianceEvaluationTime(Date lastAppComplianceEvaluationTime)
The timestamp for the most recent compliance evaluation.
lastAppComplianceEvaluationTime
- The timestamp for the most recent compliance evaluation.public void setLastResiliencyScoreEvaluationTime(Date lastResiliencyScoreEvaluationTime)
The timestamp for the most recent resiliency score evaluation.
lastResiliencyScoreEvaluationTime
- The timestamp for the most recent resiliency score evaluation.public Date getLastResiliencyScoreEvaluationTime()
The timestamp for the most recent resiliency score evaluation.
public App withLastResiliencyScoreEvaluationTime(Date lastResiliencyScoreEvaluationTime)
The timestamp for the most recent resiliency score evaluation.
lastResiliencyScoreEvaluationTime
- The timestamp for the most recent resiliency score evaluation.public void setName(String name)
The name for the application.
name
- The name for the application.public String getName()
The name for the application.
public App withName(String name)
The name for the application.
name
- The name for the application.public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:dcps:region
:account
:resiliency-policy/policy-id
. For more information
about ARNs, see Amazon
Resource Names (ARNs) in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:dcps:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String getPolicyArn()
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:dcps:region
:account
:resiliency-policy/policy-id
. For more information
about ARNs, see Amazon
Resource Names (ARNs) in the AWS General Reference.
partition
:dcps:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public App withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:dcps:region
:account
:resiliency-policy/policy-id
. For more information
about ARNs, see Amazon
Resource Names (ARNs) in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:dcps:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.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 App 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 action.
status
- The status of the action.AppStatusType
public String getStatus()
The status of the action.
AppStatusType
public App withStatus(String status)
The status of the action.
status
- The status of the action.AppStatusType
public App withStatus(AppStatusType status)
The status of the action.
status
- The status of the action.AppStatusType
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 App 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 App clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.