Class AggregationResponse
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregationResponse.Builder,AggregationResponse>
A structure that contains details about the results of an aggregation type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionAn object that contains details about an aggregation response based on Amazon Web Services account IDs.final AmiAggregationResponseAn object that contains details about an aggregation response based on Amazon Machine Images (AMIs).An object that contains details about an aggregation response based on Amazon ECR container images.static AggregationResponse.Builderbuilder()An object that contains details about an aggregation response based on Amazon EC2 instances.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.An object that contains details about an aggregation response based on finding types.static AggregationResponsefromAccountAggregation(Consumer<AccountAggregationResponse.Builder> accountAggregation) Create an instance of this class withaccountAggregation()initialized to the given value.static AggregationResponsefromAccountAggregation(AccountAggregationResponse accountAggregation) Create an instance of this class withaccountAggregation()initialized to the given value.static AggregationResponsefromAmiAggregation(Consumer<AmiAggregationResponse.Builder> amiAggregation) Create an instance of this class withamiAggregation()initialized to the given value.static AggregationResponsefromAmiAggregation(AmiAggregationResponse amiAggregation) Create an instance of this class withamiAggregation()initialized to the given value.static AggregationResponsefromAwsEcrContainerAggregation(Consumer<AwsEcrContainerAggregationResponse.Builder> awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()initialized to the given value.static AggregationResponsefromAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()initialized to the given value.static AggregationResponsefromEc2InstanceAggregation(Consumer<Ec2InstanceAggregationResponse.Builder> ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()initialized to the given value.static AggregationResponsefromEc2InstanceAggregation(Ec2InstanceAggregationResponse ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()initialized to the given value.static AggregationResponsefromFindingTypeAggregation(Consumer<FindingTypeAggregationResponse.Builder> findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()initialized to the given value.static AggregationResponsefromFindingTypeAggregation(FindingTypeAggregationResponse findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()initialized to the given value.static AggregationResponsefromImageLayerAggregation(Consumer<ImageLayerAggregationResponse.Builder> imageLayerAggregation) Create an instance of this class withimageLayerAggregation()initialized to the given value.static AggregationResponsefromImageLayerAggregation(ImageLayerAggregationResponse imageLayerAggregation) Create an instance of this class withimageLayerAggregation()initialized to the given value.static AggregationResponsefromLambdaFunctionAggregation(Consumer<LambdaFunctionAggregationResponse.Builder> lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()initialized to the given value.static AggregationResponsefromLambdaFunctionAggregation(LambdaFunctionAggregationResponse lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()initialized to the given value.static AggregationResponsefromLambdaLayerAggregation(Consumer<LambdaLayerAggregationResponse.Builder> lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()initialized to the given value.static AggregationResponsefromLambdaLayerAggregation(LambdaLayerAggregationResponse lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()initialized to the given value.static AggregationResponsefromPackageAggregation(Consumer<PackageAggregationResponse.Builder> packageAggregation) Create an instance of this class withpackageAggregation()initialized to the given value.static AggregationResponsefromPackageAggregation(PackageAggregationResponse packageAggregation) Create an instance of this class withpackageAggregation()initialized to the given value.static AggregationResponsefromRepositoryAggregation(Consumer<RepositoryAggregationResponse.Builder> repositoryAggregation) Create an instance of this class withrepositoryAggregation()initialized to the given value.static AggregationResponsefromRepositoryAggregation(RepositoryAggregationResponse repositoryAggregation) Create an instance of this class withrepositoryAggregation()initialized to the given value.static AggregationResponsefromTitleAggregation(Consumer<TitleAggregationResponse.Builder> titleAggregation) Create an instance of this class withtitleAggregation()initialized to the given value.static AggregationResponsefromTitleAggregation(TitleAggregationResponse titleAggregation) Create an instance of this class withtitleAggregation()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()An object that contains details about an aggregation response based on container image layers.An aggregation of findings by Amazon Web Services Lambda function.An aggregation of findings by Amazon Web Services Lambda layer.An object that contains details about an aggregation response based on operating system package type.An object that contains details about an aggregation response based on Amazon ECR repositories.static Class<? extends AggregationResponse.Builder> final TitleAggregationResponseAn object that contains details about an aggregation response based on finding title.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountAggregation
An object that contains details about an aggregation response based on Amazon Web Services account IDs.
- Returns:
- An object that contains details about an aggregation response based on Amazon Web Services account IDs.
-
amiAggregation
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
- Returns:
- An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
-
awsEcrContainerAggregation
An object that contains details about an aggregation response based on Amazon ECR container images.
- Returns:
- An object that contains details about an aggregation response based on Amazon ECR container images.
-
ec2InstanceAggregation
An object that contains details about an aggregation response based on Amazon EC2 instances.
- Returns:
- An object that contains details about an aggregation response based on Amazon EC2 instances.
-
findingTypeAggregation
An object that contains details about an aggregation response based on finding types.
- Returns:
- An object that contains details about an aggregation response based on finding types.
-
imageLayerAggregation
An object that contains details about an aggregation response based on container image layers.
- Returns:
- An object that contains details about an aggregation response based on container image layers.
-
lambdaFunctionAggregation
An aggregation of findings by Amazon Web Services Lambda function.
- Returns:
- An aggregation of findings by Amazon Web Services Lambda function.
-
lambdaLayerAggregation
An aggregation of findings by Amazon Web Services Lambda layer.
- Returns:
- An aggregation of findings by Amazon Web Services Lambda layer.
-
packageAggregation
An object that contains details about an aggregation response based on operating system package type.
- Returns:
- An object that contains details about an aggregation response based on operating system package type.
-
repositoryAggregation
An object that contains details about an aggregation response based on Amazon ECR repositories.
- Returns:
- An object that contains details about an aggregation response based on Amazon ECR repositories.
-
titleAggregation
An object that contains details about an aggregation response based on finding title.
- Returns:
- An object that contains details about an aggregation response based on finding title.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregationResponse.Builder,AggregationResponse> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromAccountAggregation
public static AggregationResponse fromAccountAggregation(AccountAggregationResponse accountAggregation) Create an instance of this class withaccountAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon Web Services account IDs.
- Parameters:
accountAggregation- An object that contains details about an aggregation response based on Amazon Web Services account IDs.
-
fromAccountAggregation
public static AggregationResponse fromAccountAggregation(Consumer<AccountAggregationResponse.Builder> accountAggregation) Create an instance of this class withaccountAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon Web Services account IDs.
- Parameters:
accountAggregation- An object that contains details about an aggregation response based on Amazon Web Services account IDs.
-
fromAmiAggregation
Create an instance of this class withamiAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
- Parameters:
amiAggregation- An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
-
fromAmiAggregation
public static AggregationResponse fromAmiAggregation(Consumer<AmiAggregationResponse.Builder> amiAggregation) Create an instance of this class withamiAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
- Parameters:
amiAggregation- An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
-
fromAwsEcrContainerAggregation
public static AggregationResponse fromAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon ECR container images.
- Parameters:
awsEcrContainerAggregation- An object that contains details about an aggregation response based on Amazon ECR container images.
-
fromAwsEcrContainerAggregation
public static AggregationResponse fromAwsEcrContainerAggregation(Consumer<AwsEcrContainerAggregationResponse.Builder> awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon ECR container images.
- Parameters:
awsEcrContainerAggregation- An object that contains details about an aggregation response based on Amazon ECR container images.
-
fromEc2InstanceAggregation
public static AggregationResponse fromEc2InstanceAggregation(Ec2InstanceAggregationResponse ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon EC2 instances.
- Parameters:
ec2InstanceAggregation- An object that contains details about an aggregation response based on Amazon EC2 instances.
-
fromEc2InstanceAggregation
public static AggregationResponse fromEc2InstanceAggregation(Consumer<Ec2InstanceAggregationResponse.Builder> ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon EC2 instances.
- Parameters:
ec2InstanceAggregation- An object that contains details about an aggregation response based on Amazon EC2 instances.
-
fromFindingTypeAggregation
public static AggregationResponse fromFindingTypeAggregation(FindingTypeAggregationResponse findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()initialized to the given value.An object that contains details about an aggregation response based on finding types.
- Parameters:
findingTypeAggregation- An object that contains details about an aggregation response based on finding types.
-
fromFindingTypeAggregation
public static AggregationResponse fromFindingTypeAggregation(Consumer<FindingTypeAggregationResponse.Builder> findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()initialized to the given value.An object that contains details about an aggregation response based on finding types.
- Parameters:
findingTypeAggregation- An object that contains details about an aggregation response based on finding types.
-
fromImageLayerAggregation
public static AggregationResponse fromImageLayerAggregation(ImageLayerAggregationResponse imageLayerAggregation) Create an instance of this class withimageLayerAggregation()initialized to the given value.An object that contains details about an aggregation response based on container image layers.
- Parameters:
imageLayerAggregation- An object that contains details about an aggregation response based on container image layers.
-
fromImageLayerAggregation
public static AggregationResponse fromImageLayerAggregation(Consumer<ImageLayerAggregationResponse.Builder> imageLayerAggregation) Create an instance of this class withimageLayerAggregation()initialized to the given value.An object that contains details about an aggregation response based on container image layers.
- Parameters:
imageLayerAggregation- An object that contains details about an aggregation response based on container image layers.
-
fromLambdaFunctionAggregation
public static AggregationResponse fromLambdaFunctionAggregation(LambdaFunctionAggregationResponse lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()initialized to the given value.An aggregation of findings by Amazon Web Services Lambda function.
- Parameters:
lambdaFunctionAggregation- An aggregation of findings by Amazon Web Services Lambda function.
-
fromLambdaFunctionAggregation
public static AggregationResponse fromLambdaFunctionAggregation(Consumer<LambdaFunctionAggregationResponse.Builder> lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()initialized to the given value.An aggregation of findings by Amazon Web Services Lambda function.
- Parameters:
lambdaFunctionAggregation- An aggregation of findings by Amazon Web Services Lambda function.
-
fromLambdaLayerAggregation
public static AggregationResponse fromLambdaLayerAggregation(LambdaLayerAggregationResponse lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()initialized to the given value.An aggregation of findings by Amazon Web Services Lambda layer.
- Parameters:
lambdaLayerAggregation- An aggregation of findings by Amazon Web Services Lambda layer.
-
fromLambdaLayerAggregation
public static AggregationResponse fromLambdaLayerAggregation(Consumer<LambdaLayerAggregationResponse.Builder> lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()initialized to the given value.An aggregation of findings by Amazon Web Services Lambda layer.
- Parameters:
lambdaLayerAggregation- An aggregation of findings by Amazon Web Services Lambda layer.
-
fromPackageAggregation
public static AggregationResponse fromPackageAggregation(PackageAggregationResponse packageAggregation) Create an instance of this class withpackageAggregation()initialized to the given value.An object that contains details about an aggregation response based on operating system package type.
- Parameters:
packageAggregation- An object that contains details about an aggregation response based on operating system package type.
-
fromPackageAggregation
public static AggregationResponse fromPackageAggregation(Consumer<PackageAggregationResponse.Builder> packageAggregation) Create an instance of this class withpackageAggregation()initialized to the given value.An object that contains details about an aggregation response based on operating system package type.
- Parameters:
packageAggregation- An object that contains details about an aggregation response based on operating system package type.
-
fromRepositoryAggregation
public static AggregationResponse fromRepositoryAggregation(RepositoryAggregationResponse repositoryAggregation) Create an instance of this class withrepositoryAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon ECR repositories.
- Parameters:
repositoryAggregation- An object that contains details about an aggregation response based on Amazon ECR repositories.
-
fromRepositoryAggregation
public static AggregationResponse fromRepositoryAggregation(Consumer<RepositoryAggregationResponse.Builder> repositoryAggregation) Create an instance of this class withrepositoryAggregation()initialized to the given value.An object that contains details about an aggregation response based on Amazon ECR repositories.
- Parameters:
repositoryAggregation- An object that contains details about an aggregation response based on Amazon ECR repositories.
-
fromTitleAggregation
Create an instance of this class withtitleAggregation()initialized to the given value.An object that contains details about an aggregation response based on finding title.
- Parameters:
titleAggregation- An object that contains details about an aggregation response based on finding title.
-
fromTitleAggregation
public static AggregationResponse fromTitleAggregation(Consumer<TitleAggregationResponse.Builder> titleAggregation) Create an instance of this class withtitleAggregation()initialized to the given value.An object that contains details about an aggregation response based on finding title.
- Parameters:
titleAggregation- An object that contains details about an aggregation response based on finding title.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAggregationResponse.Type.UNKNOWN_TO_SDK_VERSIONif 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 beAggregationResponse.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-