@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightResults extends Object implements Serializable, Cloneable, StructuredPojo
The insight results returned by the GetInsightResults operation.
| Constructor and Description |
|---|
InsightResults() |
| Modifier and Type | Method and Description |
|---|---|
InsightResults |
clone() |
boolean |
equals(Object obj) |
String |
getGroupByAttribute()
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation. |
String |
getInsightArn()
The ARN of the insight whose results are returned by the
GetInsightResults operation. |
List<InsightResultValue> |
getResultValues()
The list of insight result values returned by the
GetInsightResults operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGroupByAttribute(String groupByAttribute)
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation. |
void |
setInsightArn(String insightArn)
The ARN of the insight whose results are returned by the
GetInsightResults operation. |
void |
setResultValues(Collection<InsightResultValue> resultValues)
The list of insight result values returned by the
GetInsightResults operation. |
String |
toString()
Returns a string representation of this object.
|
InsightResults |
withGroupByAttribute(String groupByAttribute)
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation. |
InsightResults |
withInsightArn(String insightArn)
The ARN of the insight whose results are returned by the
GetInsightResults operation. |
InsightResults |
withResultValues(Collection<InsightResultValue> resultValues)
The list of insight result values returned by the
GetInsightResults operation. |
InsightResults |
withResultValues(InsightResultValue... resultValues)
The list of insight result values returned by the
GetInsightResults operation. |
public void setInsightArn(String insightArn)
The ARN of the insight whose results are returned by the GetInsightResults operation.
insightArn - The ARN of the insight whose results are returned by the GetInsightResults operation.public String getInsightArn()
The ARN of the insight whose results are returned by the GetInsightResults operation.
GetInsightResults operation.public InsightResults withInsightArn(String insightArn)
The ARN of the insight whose results are returned by the GetInsightResults operation.
insightArn - The ARN of the insight whose results are returned by the GetInsightResults operation.public void setGroupByAttribute(String groupByAttribute)
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation.
groupByAttribute - The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation.public String getGroupByAttribute()
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation.
GetInsightResults operation.public InsightResults withGroupByAttribute(String groupByAttribute)
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation.
groupByAttribute - The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults operation.public List<InsightResultValue> getResultValues()
The list of insight result values returned by the GetInsightResults operation.
GetInsightResults operation.public void setResultValues(Collection<InsightResultValue> resultValues)
The list of insight result values returned by the GetInsightResults operation.
resultValues - The list of insight result values returned by the GetInsightResults operation.public InsightResults withResultValues(InsightResultValue... resultValues)
The list of insight result values returned by the GetInsightResults operation.
NOTE: This method appends the values to the existing list (if any). Use
setResultValues(java.util.Collection) or withResultValues(java.util.Collection) if you want to
override the existing values.
resultValues - The list of insight result values returned by the GetInsightResults operation.public InsightResults withResultValues(Collection<InsightResultValue> resultValues)
The list of insight result values returned by the GetInsightResults operation.
resultValues - The list of insight result values returned by the GetInsightResults operation.public String toString()
toString in class ObjectObject.toString()public InsightResults clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.