@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImageScanFindingAggregationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListImageScanFindingAggregationsResult() |
Modifier and Type | Method and Description |
---|---|
ListImageScanFindingAggregationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationType()
The aggregation type specifies what type of key is used to group the image scan findings.
|
String |
getNextToken()
The next token used for paginated responses.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
List<ImageScanFindingAggregation> |
getResponses()
An array of image scan finding aggregations that match the filter criteria.
|
int |
hashCode() |
void |
setAggregationType(String aggregationType)
The aggregation type specifies what type of key is used to group the image scan findings.
|
void |
setNextToken(String nextToken)
The next token used for paginated responses.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
void |
setResponses(Collection<ImageScanFindingAggregation> responses)
An array of image scan finding aggregations that match the filter criteria.
|
String |
toString()
Returns a string representation of this object.
|
ListImageScanFindingAggregationsResult |
withAggregationType(String aggregationType)
The aggregation type specifies what type of key is used to group the image scan findings.
|
ListImageScanFindingAggregationsResult |
withNextToken(String nextToken)
The next token used for paginated responses.
|
ListImageScanFindingAggregationsResult |
withRequestId(String requestId)
The request ID that uniquely identifies this request.
|
ListImageScanFindingAggregationsResult |
withResponses(Collection<ImageScanFindingAggregation> responses)
An array of image scan finding aggregations that match the filter criteria.
|
ListImageScanFindingAggregationsResult |
withResponses(ImageScanFindingAggregation... responses)
An array of image scan finding aggregations that match the filter criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListImageScanFindingAggregationsResult()
public void setRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public String getRequestId()
The request ID that uniquely identifies this request.
public ListImageScanFindingAggregationsResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public void setAggregationType(String aggregationType)
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns
results based on the request filter. If you didn't specify a filter in the request, the type defaults to
accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
aggregationType
- The aggregation type specifies what type of key is used to group the image scan findings. Image Builder
returns results based on the request filter. If you didn't specify a filter in the request, the type
defaults to accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
public String getAggregationType()
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns
results based on the request filter. If you didn't specify a filter in the request, the type defaults to
accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
public ListImageScanFindingAggregationsResult withAggregationType(String aggregationType)
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns
results based on the request filter. If you didn't specify a filter in the request, the type defaults to
accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
aggregationType
- The aggregation type specifies what type of key is used to group the image scan findings. Image Builder
returns results based on the request filter. If you didn't specify a filter in the request, the type
defaults to accountId
.
Aggregation types
accountId
imageBuildVersionArn
imagePipelineArn
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
public List<ImageScanFindingAggregation> getResponses()
An array of image scan finding aggregations that match the filter criteria.
public void setResponses(Collection<ImageScanFindingAggregation> responses)
An array of image scan finding aggregations that match the filter criteria.
responses
- An array of image scan finding aggregations that match the filter criteria.public ListImageScanFindingAggregationsResult withResponses(ImageScanFindingAggregation... responses)
An array of image scan finding aggregations that match the filter criteria.
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
- An array of image scan finding aggregations that match the filter criteria.public ListImageScanFindingAggregationsResult withResponses(Collection<ImageScanFindingAggregation> responses)
An array of image scan finding aggregations that match the filter criteria.
responses
- An array of image scan finding aggregations that match the filter criteria.public void setNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String getNextToken()
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
public ListImageScanFindingAggregationsResult withNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String toString()
toString
in class Object
Object.toString()
public ListImageScanFindingAggregationsResult clone()