@Generated(value="software.amazon.awssdk:codegen") public final class AggregationResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregationResponse.Builder,AggregationResponse>
A structure that contains details about the results of an aggregation type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregationResponse.Builder |
static class |
AggregationResponse.Type |
| Modifier and Type | Method and Description |
|---|---|
AccountAggregationResponse |
accountAggregation()
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
|
AmiAggregationResponse |
amiAggregation()
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
|
AwsEcrContainerAggregationResponse |
awsEcrContainerAggregation()
An object that contains details about an aggregation response based on Amazon ECR container images.
|
static AggregationResponse.Builder |
builder() |
Ec2InstanceAggregationResponse |
ec2InstanceAggregation()
An object that contains details about an aggregation response based on Amazon EC2 instances.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FindingTypeAggregationResponse |
findingTypeAggregation()
An object that contains details about an aggregation response based on finding types.
|
static AggregationResponse |
fromAccountAggregation(AccountAggregationResponse accountAggregation)
Create an instance of this class with
accountAggregation() initialized to the given value. |
static AggregationResponse |
fromAccountAggregation(Consumer<AccountAggregationResponse.Builder> accountAggregation)
Create an instance of this class with
accountAggregation() initialized to the given value. |
static AggregationResponse |
fromAmiAggregation(AmiAggregationResponse amiAggregation)
Create an instance of this class with
amiAggregation() initialized to the given value. |
static AggregationResponse |
fromAmiAggregation(Consumer<AmiAggregationResponse.Builder> amiAggregation)
Create an instance of this class with
amiAggregation() initialized to the given value. |
static AggregationResponse |
fromAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse awsEcrContainerAggregation)
Create an instance of this class with
awsEcrContainerAggregation() initialized to the given value. |
static AggregationResponse |
fromAwsEcrContainerAggregation(Consumer<AwsEcrContainerAggregationResponse.Builder> awsEcrContainerAggregation)
Create an instance of this class with
awsEcrContainerAggregation() initialized to the given value. |
static AggregationResponse |
fromEc2InstanceAggregation(Consumer<Ec2InstanceAggregationResponse.Builder> ec2InstanceAggregation)
Create an instance of this class with
ec2InstanceAggregation() initialized to the given value. |
static AggregationResponse |
fromEc2InstanceAggregation(Ec2InstanceAggregationResponse ec2InstanceAggregation)
Create an instance of this class with
ec2InstanceAggregation() initialized to the given value. |
static AggregationResponse |
fromFindingTypeAggregation(Consumer<FindingTypeAggregationResponse.Builder> findingTypeAggregation)
Create an instance of this class with
findingTypeAggregation() initialized to the given value. |
static AggregationResponse |
fromFindingTypeAggregation(FindingTypeAggregationResponse findingTypeAggregation)
Create an instance of this class with
findingTypeAggregation() initialized to the given value. |
static AggregationResponse |
fromImageLayerAggregation(Consumer<ImageLayerAggregationResponse.Builder> imageLayerAggregation)
Create an instance of this class with
imageLayerAggregation() initialized to the given value. |
static AggregationResponse |
fromImageLayerAggregation(ImageLayerAggregationResponse imageLayerAggregation)
Create an instance of this class with
imageLayerAggregation() initialized to the given value. |
static AggregationResponse |
fromLambdaFunctionAggregation(Consumer<LambdaFunctionAggregationResponse.Builder> lambdaFunctionAggregation)
Create an instance of this class with
lambdaFunctionAggregation() initialized to the given value. |
static AggregationResponse |
fromLambdaFunctionAggregation(LambdaFunctionAggregationResponse lambdaFunctionAggregation)
Create an instance of this class with
lambdaFunctionAggregation() initialized to the given value. |
static AggregationResponse |
fromLambdaLayerAggregation(Consumer<LambdaLayerAggregationResponse.Builder> lambdaLayerAggregation)
Create an instance of this class with
lambdaLayerAggregation() initialized to the given value. |
static AggregationResponse |
fromLambdaLayerAggregation(LambdaLayerAggregationResponse lambdaLayerAggregation)
Create an instance of this class with
lambdaLayerAggregation() initialized to the given value. |
static AggregationResponse |
fromPackageAggregation(Consumer<PackageAggregationResponse.Builder> packageAggregation)
Create an instance of this class with
packageAggregation() initialized to the given value. |
static AggregationResponse |
fromPackageAggregation(PackageAggregationResponse packageAggregation)
Create an instance of this class with
packageAggregation() initialized to the given value. |
static AggregationResponse |
fromRepositoryAggregation(Consumer<RepositoryAggregationResponse.Builder> repositoryAggregation)
Create an instance of this class with
repositoryAggregation() initialized to the given value. |
static AggregationResponse |
fromRepositoryAggregation(RepositoryAggregationResponse repositoryAggregation)
Create an instance of this class with
repositoryAggregation() initialized to the given value. |
static AggregationResponse |
fromTitleAggregation(Consumer<TitleAggregationResponse.Builder> titleAggregation)
Create an instance of this class with
titleAggregation() initialized to the given value. |
static AggregationResponse |
fromTitleAggregation(TitleAggregationResponse titleAggregation)
Create an instance of this class with
titleAggregation() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageLayerAggregationResponse |
imageLayerAggregation()
An object that contains details about an aggregation response based on container image layers.
|
LambdaFunctionAggregationResponse |
lambdaFunctionAggregation()
An aggregation of findings by AWS Lambda function.
|
LambdaLayerAggregationResponse |
lambdaLayerAggregation()
An aggregation of findings by AWS Lambda layer.
|
PackageAggregationResponse |
packageAggregation()
An object that contains details about an aggregation response based on operating system package type.
|
RepositoryAggregationResponse |
repositoryAggregation()
An object that contains details about an aggregation response based on Amazon ECR repositories.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregationResponse.Builder> |
serializableBuilderClass() |
TitleAggregationResponse |
titleAggregation()
An object that contains details about an aggregation response based on finding title.
|
AggregationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AggregationResponse.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AccountAggregationResponse accountAggregation()
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
public final AmiAggregationResponse amiAggregation()
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
public final AwsEcrContainerAggregationResponse awsEcrContainerAggregation()
An object that contains details about an aggregation response based on Amazon ECR container images.
public final Ec2InstanceAggregationResponse ec2InstanceAggregation()
An object that contains details about an aggregation response based on Amazon EC2 instances.
public final FindingTypeAggregationResponse findingTypeAggregation()
An object that contains details about an aggregation response based on finding types.
public final ImageLayerAggregationResponse imageLayerAggregation()
An object that contains details about an aggregation response based on container image layers.
public final LambdaFunctionAggregationResponse lambdaFunctionAggregation()
An aggregation of findings by AWS Lambda function.
public final LambdaLayerAggregationResponse lambdaLayerAggregation()
An aggregation of findings by AWS Lambda layer.
public final PackageAggregationResponse packageAggregation()
An object that contains details about an aggregation response based on operating system package type.
public final RepositoryAggregationResponse repositoryAggregation()
An object that contains details about an aggregation response based on Amazon ECR repositories.
public final TitleAggregationResponse titleAggregation()
An object that contains details about an aggregation response based on finding title.
public AggregationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregationResponse.Builder,AggregationResponse>public static AggregationResponse.Builder builder()
public static Class<? extends AggregationResponse.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static AggregationResponse fromAccountAggregation(AccountAggregationResponse accountAggregation)
accountAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
accountAggregation - An object that contains details about an aggregation response based on Amazon Web Services account IDs.public static AggregationResponse fromAccountAggregation(Consumer<AccountAggregationResponse.Builder> accountAggregation)
accountAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
accountAggregation - An object that contains details about an aggregation response based on Amazon Web Services account IDs.public static AggregationResponse fromAmiAggregation(AmiAggregationResponse amiAggregation)
amiAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
amiAggregation - An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).public static AggregationResponse fromAmiAggregation(Consumer<AmiAggregationResponse.Builder> amiAggregation)
amiAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
amiAggregation - An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).public static AggregationResponse fromAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse awsEcrContainerAggregation)
awsEcrContainerAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon ECR container images.
awsEcrContainerAggregation - An object that contains details about an aggregation response based on Amazon ECR container images.public static AggregationResponse fromAwsEcrContainerAggregation(Consumer<AwsEcrContainerAggregationResponse.Builder> awsEcrContainerAggregation)
awsEcrContainerAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon ECR container images.
awsEcrContainerAggregation - An object that contains details about an aggregation response based on Amazon ECR container images.public static AggregationResponse fromEc2InstanceAggregation(Ec2InstanceAggregationResponse ec2InstanceAggregation)
ec2InstanceAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon EC2 instances.
ec2InstanceAggregation - An object that contains details about an aggregation response based on Amazon EC2 instances.public static AggregationResponse fromEc2InstanceAggregation(Consumer<Ec2InstanceAggregationResponse.Builder> ec2InstanceAggregation)
ec2InstanceAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon EC2 instances.
ec2InstanceAggregation - An object that contains details about an aggregation response based on Amazon EC2 instances.public static AggregationResponse fromFindingTypeAggregation(FindingTypeAggregationResponse findingTypeAggregation)
findingTypeAggregation() initialized to the given value.
An object that contains details about an aggregation response based on finding types.
findingTypeAggregation - An object that contains details about an aggregation response based on finding types.public static AggregationResponse fromFindingTypeAggregation(Consumer<FindingTypeAggregationResponse.Builder> findingTypeAggregation)
findingTypeAggregation() initialized to the given value.
An object that contains details about an aggregation response based on finding types.
findingTypeAggregation - An object that contains details about an aggregation response based on finding types.public static AggregationResponse fromImageLayerAggregation(ImageLayerAggregationResponse imageLayerAggregation)
imageLayerAggregation() initialized to the given value.
An object that contains details about an aggregation response based on container image layers.
imageLayerAggregation - An object that contains details about an aggregation response based on container image layers.public static AggregationResponse fromImageLayerAggregation(Consumer<ImageLayerAggregationResponse.Builder> imageLayerAggregation)
imageLayerAggregation() initialized to the given value.
An object that contains details about an aggregation response based on container image layers.
imageLayerAggregation - An object that contains details about an aggregation response based on container image layers.public static AggregationResponse fromLambdaFunctionAggregation(LambdaFunctionAggregationResponse lambdaFunctionAggregation)
lambdaFunctionAggregation() initialized to the given value.
An aggregation of findings by AWS Lambda function.
lambdaFunctionAggregation - An aggregation of findings by AWS Lambda function.public static AggregationResponse fromLambdaFunctionAggregation(Consumer<LambdaFunctionAggregationResponse.Builder> lambdaFunctionAggregation)
lambdaFunctionAggregation() initialized to the given value.
An aggregation of findings by AWS Lambda function.
lambdaFunctionAggregation - An aggregation of findings by AWS Lambda function.public static AggregationResponse fromLambdaLayerAggregation(LambdaLayerAggregationResponse lambdaLayerAggregation)
lambdaLayerAggregation() initialized to the given value.
An aggregation of findings by AWS Lambda layer.
lambdaLayerAggregation - An aggregation of findings by AWS Lambda layer.public static AggregationResponse fromLambdaLayerAggregation(Consumer<LambdaLayerAggregationResponse.Builder> lambdaLayerAggregation)
lambdaLayerAggregation() initialized to the given value.
An aggregation of findings by AWS Lambda layer.
lambdaLayerAggregation - An aggregation of findings by AWS Lambda layer.public static AggregationResponse fromPackageAggregation(PackageAggregationResponse packageAggregation)
packageAggregation() initialized to the given value.
An object that contains details about an aggregation response based on operating system package type.
packageAggregation - An object that contains details about an aggregation response based on operating system package type.public static AggregationResponse fromPackageAggregation(Consumer<PackageAggregationResponse.Builder> packageAggregation)
packageAggregation() initialized to the given value.
An object that contains details about an aggregation response based on operating system package type.
packageAggregation - An object that contains details about an aggregation response based on operating system package type.public static AggregationResponse fromRepositoryAggregation(RepositoryAggregationResponse repositoryAggregation)
repositoryAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon ECR repositories.
repositoryAggregation - An object that contains details about an aggregation response based on Amazon ECR repositories.public static AggregationResponse fromRepositoryAggregation(Consumer<RepositoryAggregationResponse.Builder> repositoryAggregation)
repositoryAggregation() initialized to the given value.
An object that contains details about an aggregation response based on Amazon ECR repositories.
repositoryAggregation - An object that contains details about an aggregation response based on Amazon ECR repositories.public static AggregationResponse fromTitleAggregation(TitleAggregationResponse titleAggregation)
titleAggregation() initialized to the given value.
An object that contains details about an aggregation response based on finding title.
titleAggregation - An object that contains details about an aggregation response based on finding title.public static AggregationResponse fromTitleAggregation(Consumer<TitleAggregationResponse.Builder> titleAggregation)
titleAggregation() initialized to the given value.
An object that contains details about an aggregation response based on finding title.
titleAggregation - An object that contains details about an aggregation response based on finding title.public AggregationResponse.Type type()
AggregationResponse.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be AggregationResponse.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.