@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.FindingReasonCode
public String getName()
The name of the finding reason code.
FindingReasonCode
public ReasonCodeSummary withName(String name)
The name of the finding reason code.
name
- The name of the finding reason code.FindingReasonCode
public ReasonCodeSummary withName(FindingReasonCode name)
The name of the finding reason code.
name
- The name of the finding reason code.FindingReasonCode
public 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 Object
Object.toString()
public ReasonCodeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.