@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.Severity
public String getSeverity()
Contains the severity of anti-patterns.
Severity
public AntipatternSeveritySummary withSeverity(String severity)
Contains the severity of anti-patterns.
severity
- Contains the severity of anti-patterns.Severity
public AntipatternSeveritySummary withSeverity(Severity severity)
Contains the severity of anti-patterns.
severity
- Contains the severity of anti-patterns.Severity
public String toString()
toString
in class Object
Object.toString()
public AntipatternSeveritySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.