@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFindingAggregationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFindingAggregationsResult() |
Modifier and Type | Method and Description |
---|---|
ListFindingAggregationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationType()
The type of aggregation to perform.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
List<AggregationResponse> |
getResponses()
Objects that contain the results of an aggregation operation.
|
int |
hashCode() |
void |
setAggregationType(String aggregationType)
The type of aggregation to perform.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
void |
setResponses(Collection<AggregationResponse> responses)
Objects that contain the results of an aggregation operation.
|
String |
toString()
Returns a string representation of this object.
|
ListFindingAggregationsResult |
withAggregationType(AggregationType aggregationType)
The type of aggregation to perform.
|
ListFindingAggregationsResult |
withAggregationType(String aggregationType)
The type of aggregation to perform.
|
ListFindingAggregationsResult |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
ListFindingAggregationsResult |
withResponses(AggregationResponse... responses)
Objects that contain the results of an aggregation operation.
|
ListFindingAggregationsResult |
withResponses(Collection<AggregationResponse> responses)
Objects that contain the results of an aggregation operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAggregationType(String aggregationType)
The type of aggregation to perform.
aggregationType
- The type of aggregation to perform.AggregationType
public String getAggregationType()
The type of aggregation to perform.
AggregationType
public ListFindingAggregationsResult withAggregationType(String aggregationType)
The type of aggregation to perform.
aggregationType
- The type of aggregation to perform.AggregationType
public ListFindingAggregationsResult withAggregationType(AggregationType aggregationType)
The type of aggregation to perform.
aggregationType
- The type of aggregation to perform.AggregationType
public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListFindingAggregationsResult withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public List<AggregationResponse> getResponses()
Objects that contain the results of an aggregation operation.
public void setResponses(Collection<AggregationResponse> responses)
Objects that contain the results of an aggregation operation.
responses
- Objects that contain the results of an aggregation operation.public ListFindingAggregationsResult withResponses(AggregationResponse... responses)
Objects that contain the results of an aggregation operation.
NOTE: This method appends the values to the existing list (if any). Use
setResponses(java.util.Collection)
or withResponses(java.util.Collection)
if you want to
override the existing values.
responses
- Objects that contain the results of an aggregation operation.public ListFindingAggregationsResult withResponses(Collection<AggregationResponse> responses)
Objects that contain the results of an aggregation operation.
responses
- Objects that contain the results of an aggregation operation.public String toString()
toString
in class Object
Object.toString()
public ListFindingAggregationsResult clone()