@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageLayerAggregationResponse extends Object implements Serializable, Cloneable, StructuredPojo
A response that contains the results of a finding aggregation by image layer.
Constructor and Description |
---|
ImageLayerAggregationResponse() |
Modifier and Type | Method and Description |
---|---|
ImageLayerAggregationResponse |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
|
String |
getLayerHash()
The layer hash.
|
String |
getRepository()
The repository the layer resides in.
|
String |
getResourceId()
The resource ID of the container image layer.
|
SeverityCounts |
getSeverityCounts()
An object that represents the count of matched findings per severity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
|
void |
setLayerHash(String layerHash)
The layer hash.
|
void |
setRepository(String repository)
The repository the layer resides in.
|
void |
setResourceId(String resourceId)
The resource ID of the container image layer.
|
void |
setSeverityCounts(SeverityCounts severityCounts)
An object that represents the count of matched findings per severity.
|
String |
toString()
Returns a string representation of this object.
|
ImageLayerAggregationResponse |
withAccountId(String accountId)
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
|
ImageLayerAggregationResponse |
withLayerHash(String layerHash)
The layer hash.
|
ImageLayerAggregationResponse |
withRepository(String repository)
The repository the layer resides in.
|
ImageLayerAggregationResponse |
withResourceId(String resourceId)
The resource ID of the container image layer.
|
ImageLayerAggregationResponse |
withSeverityCounts(SeverityCounts severityCounts)
An object that represents the count of matched findings per severity.
|
public void setAccountId(String accountId)
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
accountId
- The ID of the Amazon Web Services account that owns the container image hosting the layer image.public String getAccountId()
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
public ImageLayerAggregationResponse withAccountId(String accountId)
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
accountId
- The ID of the Amazon Web Services account that owns the container image hosting the layer image.public void setLayerHash(String layerHash)
The layer hash.
layerHash
- The layer hash.public String getLayerHash()
The layer hash.
public ImageLayerAggregationResponse withLayerHash(String layerHash)
The layer hash.
layerHash
- The layer hash.public void setRepository(String repository)
The repository the layer resides in.
repository
- The repository the layer resides in.public String getRepository()
The repository the layer resides in.
public ImageLayerAggregationResponse withRepository(String repository)
The repository the layer resides in.
repository
- The repository the layer resides in.public void setResourceId(String resourceId)
The resource ID of the container image layer.
resourceId
- The resource ID of the container image layer.public String getResourceId()
The resource ID of the container image layer.
public ImageLayerAggregationResponse withResourceId(String resourceId)
The resource ID of the container image layer.
resourceId
- The resource ID of the container image layer.public void setSeverityCounts(SeverityCounts severityCounts)
An object that represents the count of matched findings per severity.
severityCounts
- An object that represents the count of matched findings per severity.public SeverityCounts getSeverityCounts()
An object that represents the count of matched findings per severity.
public ImageLayerAggregationResponse withSeverityCounts(SeverityCounts severityCounts)
An object that represents the count of matched findings per severity.
severityCounts
- An object that represents the count of matched findings per severity.public String toString()
toString
in class Object
Object.toString()
public ImageLayerAggregationResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.