@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AntipatternSeveritySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains the summary of anti-patterns and their severity.
| Constructor and Description |
|---|
AntipatternSeveritySummary() |
| Modifier and Type | Method and Description |
|---|---|
AntipatternSeveritySummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
Contains the count of anti-patterns.
|
String |
getSeverity()
Contains the severity of anti-patterns.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCount(Integer count)
Contains the count of anti-patterns.
|
void |
setSeverity(String severity)
Contains the severity of anti-patterns.
|
String |
toString()
Returns a string representation of this object.
|
AntipatternSeveritySummary |
withCount(Integer count)
Contains the count of anti-patterns.
|
AntipatternSeveritySummary |
withSeverity(Severity severity)
Contains the severity of anti-patterns.
|
AntipatternSeveritySummary |
withSeverity(String severity)
Contains the severity of anti-patterns.
|
public void setCount(Integer count)
Contains the count of anti-patterns.
count - Contains the count of anti-patterns.public Integer getCount()
Contains the count of anti-patterns.
public AntipatternSeveritySummary withCount(Integer count)
Contains the count of anti-patterns.
count - Contains the count of anti-patterns.public void setSeverity(String severity)
Contains the severity of anti-patterns.
severity - Contains the severity of anti-patterns.Severitypublic String getSeverity()
Contains the severity of anti-patterns.
Severitypublic AntipatternSeveritySummary withSeverity(String severity)
Contains the severity of anti-patterns.
severity - Contains the severity of anti-patterns.Severitypublic AntipatternSeveritySummary withSeverity(Severity severity)
Contains the severity of anti-patterns.
severity - Contains the severity of anti-patterns.Severitypublic String toString()
toString in class ObjectObject.toString()public AntipatternSeveritySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.