@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppComponentCompliance extends Object implements Serializable, Cloneable, StructuredPojo
Defines the compliance of an Application Component against the resiliency policy.
Constructor and Description |
---|
AppComponentCompliance() |
Modifier and Type | Method and Description |
---|---|
AppComponentCompliance |
addComplianceEntry(String key,
DisruptionCompliance value)
Add a single Compliance entry
|
AppComponentCompliance |
clearComplianceEntries()
Removes all the entries added into Compliance.
|
AppComponentCompliance |
clone() |
boolean |
equals(Object obj) |
String |
getAppComponentName()
Name of the Application Component.
|
Map<String,DisruptionCompliance> |
getCompliance()
The compliance of the Application Component against the resiliency policy.
|
Cost |
getCost()
The cost for the application.
|
String |
getMessage()
The compliance message.
|
ResiliencyScore |
getResiliencyScore()
The current resiliency score for the application.
|
String |
getStatus()
Status of the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppComponentName(String appComponentName)
Name of the Application Component.
|
void |
setCompliance(Map<String,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
|
void |
setCost(Cost cost)
The cost for the application.
|
void |
setMessage(String message)
The compliance message.
|
void |
setResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
|
void |
setStatus(String status)
Status of the action.
|
String |
toString()
Returns a string representation of this object.
|
AppComponentCompliance |
withAppComponentName(String appComponentName)
Name of the Application Component.
|
AppComponentCompliance |
withCompliance(Map<String,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
|
AppComponentCompliance |
withCost(Cost cost)
The cost for the application.
|
AppComponentCompliance |
withMessage(String message)
The compliance message.
|
AppComponentCompliance |
withResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
|
AppComponentCompliance |
withStatus(ComplianceStatus status)
Status of the action.
|
AppComponentCompliance |
withStatus(String status)
Status of the action.
|
public void setAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public String getAppComponentName()
Name of the Application Component.
public AppComponentCompliance withAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public Map<String,DisruptionCompliance> getCompliance()
The compliance of the Application Component against the resiliency policy.
public void setCompliance(Map<String,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
compliance
- The compliance of the Application Component against the resiliency policy.public AppComponentCompliance withCompliance(Map<String,DisruptionCompliance> compliance)
The compliance of the Application Component against the resiliency policy.
compliance
- The compliance of the Application Component against the resiliency policy.public AppComponentCompliance addComplianceEntry(String key, DisruptionCompliance value)
public AppComponentCompliance clearComplianceEntries()
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 AppComponentCompliance withCost(Cost cost)
The cost for the application.
cost
- The cost for the application.public void setMessage(String message)
The compliance message.
message
- The compliance message.public String getMessage()
The compliance message.
public AppComponentCompliance withMessage(String message)
The compliance message.
message
- The compliance message.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 AppComponentCompliance withResiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the application.
resiliencyScore
- The current resiliency score for the application.public void setStatus(String status)
Status of the action.
status
- Status of the action.ComplianceStatus
public String getStatus()
Status of the action.
ComplianceStatus
public AppComponentCompliance withStatus(String status)
Status of the action.
status
- Status of the action.ComplianceStatus
public AppComponentCompliance withStatus(ComplianceStatus status)
Status of the action.
status
- Status of the action.ComplianceStatus
public String toString()
toString
in class Object
Object.toString()
public AppComponentCompliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.