@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReasonCodeSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of a finding reason code.
| Constructor and Description |
|---|
ReasonCodeSummary() |
| Modifier and Type | Method and Description |
|---|---|
ReasonCodeSummary |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the finding reason code.
|
Double |
getValue()
The value of the finding reason code summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the finding reason code.
|
void |
setValue(Double value)
The value of the finding reason code summary.
|
String |
toString()
Returns a string representation of this object.
|
ReasonCodeSummary |
withName(FindingReasonCode name)
The name of the finding reason code.
|
ReasonCodeSummary |
withName(String name)
The name of the finding reason code.
|
ReasonCodeSummary |
withValue(Double value)
The value of the finding reason code summary.
|
public void setName(String name)
The name of the finding reason code.
name - The name of the finding reason code.FindingReasonCodepublic String getName()
The name of the finding reason code.
FindingReasonCodepublic ReasonCodeSummary withName(String name)
The name of the finding reason code.
name - The name of the finding reason code.FindingReasonCodepublic ReasonCodeSummary withName(FindingReasonCode name)
The name of the finding reason code.
name - The name of the finding reason code.FindingReasonCodepublic void setValue(Double value)
The value of the finding reason code summary.
value - The value of the finding reason code summary.public Double getValue()
The value of the finding reason code summary.
public ReasonCodeSummary withValue(Double value)
The value of the finding reason code summary.
value - The value of the finding reason code summary.public String toString()
toString in class ObjectObject.toString()public ReasonCodeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.