Class AmiAggregationResponse
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.AmiAggregationResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>
@Generated("software.amazon.awssdk:codegen") public final class AmiAggregationResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>
A response that contains the results of a finding aggregation by AMI.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmiAggregationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID for the AMI.LongaffectedInstances()The IDs of Amazon EC2 instances using this AMI.Stringami()The ID of the AMI that findings were aggregated for.static AmiAggregationResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AmiAggregationResponse.Builder>serializableBuilderClass()SeverityCountsseverityCounts()An object that contains the count of matched findings per severity.AmiAggregationResponse.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 Amazon Web Services account ID for the AMI.
- Returns:
- The Amazon Web Services account ID for the AMI.
-
affectedInstances
public final Long affectedInstances()
The IDs of Amazon EC2 instances using this AMI.
- Returns:
- The IDs of Amazon EC2 instances using this AMI.
-
ami
public final String ami()
The ID of the AMI that findings were aggregated for.
- Returns:
- The ID of the AMI that findings were aggregated for.
-
severityCounts
public final SeverityCounts severityCounts()
An object that contains the count of matched findings per severity.
- Returns:
- An object that contains the count of matched findings per severity.
-
toBuilder
public AmiAggregationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>
-
builder
public static AmiAggregationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AmiAggregationResponse.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.
-
-