@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCisScanResultsAggregatedByTargetResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCisScanResultsAggregatedByTargetResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListCisScanResultsAggregatedByTargetResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token from a previous request that's used to retrieve the next page of results.
|
List<CisTargetResourceAggregation> |
getTargetResourceAggregations()
The resource aggregations.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
|
void |
setTargetResourceAggregations(Collection<CisTargetResourceAggregation> targetResourceAggregations)
The resource aggregations.
|
String |
toString()
Returns a string representation of this object.
|
ListCisScanResultsAggregatedByTargetResourceResult |
withNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
|
ListCisScanResultsAggregatedByTargetResourceResult |
withTargetResourceAggregations(CisTargetResourceAggregation... targetResourceAggregations)
The resource aggregations.
|
ListCisScanResultsAggregatedByTargetResourceResult |
withTargetResourceAggregations(Collection<CisTargetResourceAggregation> targetResourceAggregations)
The resource aggregations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListCisScanResultsAggregatedByTargetResourceResult()
public void setNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
nextToken
- The pagination token from a previous request that's used to retrieve the next page of results.public String getNextToken()
The pagination token from a previous request that's used to retrieve the next page of results.
public ListCisScanResultsAggregatedByTargetResourceResult withNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
nextToken
- The pagination token from a previous request that's used to retrieve the next page of results.public List<CisTargetResourceAggregation> getTargetResourceAggregations()
The resource aggregations.
public void setTargetResourceAggregations(Collection<CisTargetResourceAggregation> targetResourceAggregations)
The resource aggregations.
targetResourceAggregations
- The resource aggregations.public ListCisScanResultsAggregatedByTargetResourceResult withTargetResourceAggregations(CisTargetResourceAggregation... targetResourceAggregations)
The resource aggregations.
NOTE: This method appends the values to the existing list (if any). Use
setTargetResourceAggregations(java.util.Collection)
or
withTargetResourceAggregations(java.util.Collection)
if you want to override the existing values.
targetResourceAggregations
- The resource aggregations.public ListCisScanResultsAggregatedByTargetResourceResult withTargetResourceAggregations(Collection<CisTargetResourceAggregation> targetResourceAggregations)
The resource aggregations.
targetResourceAggregations
- The resource aggregations.public String toString()
toString
in class Object
Object.toString()
public ListCisScanResultsAggregatedByTargetResourceResult clone()