@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Summary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of a recommendation.
Constructor and Description |
---|
Summary() |
Modifier and Type | Method and Description |
---|---|
Summary |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The finding classification of the recommendation.
|
List<ReasonCodeSummary> |
getReasonCodeSummaries()
An array of objects that summarize a finding reason code.
|
Double |
getValue()
The value of the recommendation summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The finding classification of the recommendation.
|
void |
setReasonCodeSummaries(Collection<ReasonCodeSummary> reasonCodeSummaries)
An array of objects that summarize a finding reason code.
|
void |
setValue(Double value)
The value of the recommendation summary.
|
String |
toString()
Returns a string representation of this object.
|
Summary |
withName(Finding name)
The finding classification of the recommendation.
|
Summary |
withName(String name)
The finding classification of the recommendation.
|
Summary |
withReasonCodeSummaries(Collection<ReasonCodeSummary> reasonCodeSummaries)
An array of objects that summarize a finding reason code.
|
Summary |
withReasonCodeSummaries(ReasonCodeSummary... reasonCodeSummaries)
An array of objects that summarize a finding reason code.
|
Summary |
withValue(Double value)
The value of the recommendation summary.
|
public void setName(String name)
The finding classification of the recommendation.
name
- The finding classification of the recommendation.Finding
public String getName()
The finding classification of the recommendation.
Finding
public Summary withName(String name)
The finding classification of the recommendation.
name
- The finding classification of the recommendation.Finding
public Summary withName(Finding name)
The finding classification of the recommendation.
name
- The finding classification of the recommendation.Finding
public void setValue(Double value)
The value of the recommendation summary.
value
- The value of the recommendation summary.public Double getValue()
The value of the recommendation summary.
public Summary withValue(Double value)
The value of the recommendation summary.
value
- The value of the recommendation summary.public List<ReasonCodeSummary> getReasonCodeSummaries()
An array of objects that summarize a finding reason code.
public void setReasonCodeSummaries(Collection<ReasonCodeSummary> reasonCodeSummaries)
An array of objects that summarize a finding reason code.
reasonCodeSummaries
- An array of objects that summarize a finding reason code.public Summary withReasonCodeSummaries(ReasonCodeSummary... reasonCodeSummaries)
An array of objects that summarize a finding reason code.
NOTE: This method appends the values to the existing list (if any). Use
setReasonCodeSummaries(java.util.Collection)
or withReasonCodeSummaries(java.util.Collection)
if you want to override the existing values.
reasonCodeSummaries
- An array of objects that summarize a finding reason code.public Summary withReasonCodeSummaries(Collection<ReasonCodeSummary> reasonCodeSummaries)
An array of objects that summarize a finding reason code.
reasonCodeSummaries
- An array of objects that summarize a finding reason code.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.