@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmiAggregationResponse extends Object implements Serializable, Cloneable, StructuredPojo
A response that contains the results of a finding aggregation by AMI.
Constructor and Description |
---|
AmiAggregationResponse() |
Modifier and Type | Method and Description |
---|---|
AmiAggregationResponse |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for the AMI.
|
Long |
getAffectedInstances()
The IDs of Amazon EC2 instances using this AMI.
|
String |
getAmi()
The ID of the AMI that findings were aggregated for.
|
SeverityCounts |
getSeverityCounts()
An object that contains 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 Amazon Web Services account ID for the AMI.
|
void |
setAffectedInstances(Long affectedInstances)
The IDs of Amazon EC2 instances using this AMI.
|
void |
setAmi(String ami)
The ID of the AMI that findings were aggregated for.
|
void |
setSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
|
String |
toString()
Returns a string representation of this object.
|
AmiAggregationResponse |
withAccountId(String accountId)
The Amazon Web Services account ID for the AMI.
|
AmiAggregationResponse |
withAffectedInstances(Long affectedInstances)
The IDs of Amazon EC2 instances using this AMI.
|
AmiAggregationResponse |
withAmi(String ami)
The ID of the AMI that findings were aggregated for.
|
AmiAggregationResponse |
withSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID for the AMI.
accountId
- The Amazon Web Services account ID for the AMI.public String getAccountId()
The Amazon Web Services account ID for the AMI.
public AmiAggregationResponse withAccountId(String accountId)
The Amazon Web Services account ID for the AMI.
accountId
- The Amazon Web Services account ID for the AMI.public void setAffectedInstances(Long affectedInstances)
The IDs of Amazon EC2 instances using this AMI.
affectedInstances
- The IDs of Amazon EC2 instances using this AMI.public Long getAffectedInstances()
The IDs of Amazon EC2 instances using this AMI.
public AmiAggregationResponse withAffectedInstances(Long affectedInstances)
The IDs of Amazon EC2 instances using this AMI.
affectedInstances
- The IDs of Amazon EC2 instances using this AMI.public void setAmi(String ami)
The ID of the AMI that findings were aggregated for.
ami
- The ID of the AMI that findings were aggregated for.public String getAmi()
The ID of the AMI that findings were aggregated for.
public AmiAggregationResponse withAmi(String ami)
The ID of the AMI that findings were aggregated for.
ami
- The ID of the AMI that findings were aggregated for.public void setSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
severityCounts
- An object that contains the count of matched findings per severity.public SeverityCounts getSeverityCounts()
An object that contains the count of matched findings per severity.
public AmiAggregationResponse withSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
severityCounts
- An object that contains the count of matched findings per severity.public String toString()
toString
in class Object
Object.toString()
public AmiAggregationResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.