Class ImageLayerAggregationResponse
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.ImageLayerAggregationResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageLayerAggregationResponse.Builder,ImageLayerAggregationResponse>
@Generated("software.amazon.awssdk:codegen") public final class ImageLayerAggregationResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageLayerAggregationResponse.Builder,ImageLayerAggregationResponse>
A response that contains the results of a finding aggregation by image layer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageLayerAggregationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the Amazon Web Services account that owns the container image hosting the layer image.static ImageLayerAggregationResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlayerHash()The layer hash.Stringrepository()The repository the layer resides in.StringresourceId()The resource ID of the container image layer.List<SdkField<?>>sdkFields()static Class<? extends ImageLayerAggregationResponse.Builder>serializableBuilderClass()SeverityCountsseverityCounts()An object that represents the count of matched findings per severity.ImageLayerAggregationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The ID of the Amazon Web Services account that owns the container image hosting the layer image.
- Returns:
- The ID of the Amazon Web Services account that owns the container image hosting the layer image.
-
layerHash
public final String layerHash()
The layer hash.
- Returns:
- The layer hash.
-
repository
public final String repository()
The repository the layer resides in.
- Returns:
- The repository the layer resides in.
-
resourceId
public final String resourceId()
The resource ID of the container image layer.
- Returns:
- The resource ID of the container image layer.
-
severityCounts
public final SeverityCounts severityCounts()
An object that represents the count of matched findings per severity.
- Returns:
- An object that represents the count of matched findings per severity.
-
toBuilder
public ImageLayerAggregationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageLayerAggregationResponse.Builder,ImageLayerAggregationResponse>
-
builder
public static ImageLayerAggregationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageLayerAggregationResponse.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-