@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupCount extends Object implements Serializable, Cloneable, StructuredPojo
Provides a group of results for a query that retrieved aggregated statistical data about findings.
Constructor and Description |
---|
GroupCount() |
Modifier and Type | Method and Description |
---|---|
GroupCount |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The total number of findings in the group of query results.
|
String |
getGroupKey()
The name of the property that defines the group in the query results, as specified by the groupBy property in the
query request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
The total number of findings in the group of query results.
|
void |
setGroupKey(String groupKey)
The name of the property that defines the group in the query results, as specified by the groupBy property in the
query request.
|
String |
toString()
Returns a string representation of this object.
|
GroupCount |
withCount(Long count)
The total number of findings in the group of query results.
|
GroupCount |
withGroupKey(String groupKey)
The name of the property that defines the group in the query results, as specified by the groupBy property in the
query request.
|
public void setCount(Long count)
The total number of findings in the group of query results.
count
- The total number of findings in the group of query results.public Long getCount()
The total number of findings in the group of query results.
public GroupCount withCount(Long count)
The total number of findings in the group of query results.
count
- The total number of findings in the group of query results.public void setGroupKey(String groupKey)
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
groupKey
- The name of the property that defines the group in the query results, as specified by the groupBy property
in the query request.public String getGroupKey()
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
public GroupCount withGroupKey(String groupKey)
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
groupKey
- The name of the property that defines the group in the query results, as specified by the groupBy property
in the query request.public String toString()
toString
in class Object
Object.toString()
public GroupCount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.