Class AggregationRequest

    • Method Detail

      • accountAggregation

        public final AccountAggregation accountAggregation()

        An object that contains details about an aggregation request based on Amazon Web Services account IDs.

        Returns:
        An object that contains details about an aggregation request based on Amazon Web Services account IDs.
      • amiAggregation

        public final AmiAggregation amiAggregation()

        An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).

        Returns:
        An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
      • awsEcrContainerAggregation

        public final AwsEcrContainerAggregation awsEcrContainerAggregation()

        An object that contains details about an aggregation request based on Amazon ECR container images.

        Returns:
        An object that contains details about an aggregation request based on Amazon ECR container images.
      • ec2InstanceAggregation

        public final Ec2InstanceAggregation ec2InstanceAggregation()

        An object that contains details about an aggregation request based on Amazon EC2 instances.

        Returns:
        An object that contains details about an aggregation request based on Amazon EC2 instances.
      • findingTypeAggregation

        public final FindingTypeAggregation findingTypeAggregation()

        An object that contains details about an aggregation request based on finding types.

        Returns:
        An object that contains details about an aggregation request based on finding types.
      • imageLayerAggregation

        public final ImageLayerAggregation imageLayerAggregation()

        An object that contains details about an aggregation request based on container image layers.

        Returns:
        An object that contains details about an aggregation request based on container image layers.
      • lambdaFunctionAggregation

        public final LambdaFunctionAggregation lambdaFunctionAggregation()

        Returns an object with findings aggregated by AWS Lambda function.

        Returns:
        Returns an object with findings aggregated by AWS Lambda function.
      • lambdaLayerAggregation

        public final LambdaLayerAggregation lambdaLayerAggregation()

        Returns an object with findings aggregated by AWS Lambda layer.

        Returns:
        Returns an object with findings aggregated by AWS Lambda layer.
      • packageAggregation

        public final PackageAggregation packageAggregation()

        An object that contains details about an aggregation request based on operating system package type.

        Returns:
        An object that contains details about an aggregation request based on operating system package type.
      • repositoryAggregation

        public final RepositoryAggregation repositoryAggregation()

        An object that contains details about an aggregation request based on Amazon ECR repositories.

        Returns:
        An object that contains details about an aggregation request based on Amazon ECR repositories.
      • titleAggregation

        public final TitleAggregation titleAggregation()

        An object that contains details about an aggregation request based on finding title.

        Returns:
        An object that contains details about an aggregation request based on finding title.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromAccountAggregation

        public static AggregationRequest fromAccountAggregation​(AccountAggregation accountAggregation)
        Create an instance of this class with accountAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon Web Services account IDs.

        Parameters:
        accountAggregation - An object that contains details about an aggregation request based on Amazon Web Services account IDs.
      • fromAccountAggregation

        public static AggregationRequest fromAccountAggregation​(Consumer<AccountAggregation.Builder> accountAggregation)
        Create an instance of this class with accountAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon Web Services account IDs.

        Parameters:
        accountAggregation - An object that contains details about an aggregation request based on Amazon Web Services account IDs.
      • fromAmiAggregation

        public static AggregationRequest fromAmiAggregation​(AmiAggregation amiAggregation)
        Create an instance of this class with amiAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).

        Parameters:
        amiAggregation - An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
      • fromAmiAggregation

        public static AggregationRequest fromAmiAggregation​(Consumer<AmiAggregation.Builder> amiAggregation)
        Create an instance of this class with amiAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).

        Parameters:
        amiAggregation - An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
      • fromAwsEcrContainerAggregation

        public static AggregationRequest fromAwsEcrContainerAggregation​(AwsEcrContainerAggregation awsEcrContainerAggregation)
        Create an instance of this class with awsEcrContainerAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon ECR container images.

        Parameters:
        awsEcrContainerAggregation - An object that contains details about an aggregation request based on Amazon ECR container images.
      • fromAwsEcrContainerAggregation

        public static AggregationRequest fromAwsEcrContainerAggregation​(Consumer<AwsEcrContainerAggregation.Builder> awsEcrContainerAggregation)
        Create an instance of this class with awsEcrContainerAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon ECR container images.

        Parameters:
        awsEcrContainerAggregation - An object that contains details about an aggregation request based on Amazon ECR container images.
      • fromEc2InstanceAggregation

        public static AggregationRequest fromEc2InstanceAggregation​(Ec2InstanceAggregation ec2InstanceAggregation)
        Create an instance of this class with ec2InstanceAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon EC2 instances.

        Parameters:
        ec2InstanceAggregation - An object that contains details about an aggregation request based on Amazon EC2 instances.
      • fromEc2InstanceAggregation

        public static AggregationRequest fromEc2InstanceAggregation​(Consumer<Ec2InstanceAggregation.Builder> ec2InstanceAggregation)
        Create an instance of this class with ec2InstanceAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon EC2 instances.

        Parameters:
        ec2InstanceAggregation - An object that contains details about an aggregation request based on Amazon EC2 instances.
      • fromFindingTypeAggregation

        public static AggregationRequest fromFindingTypeAggregation​(FindingTypeAggregation findingTypeAggregation)
        Create an instance of this class with findingTypeAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on finding types.

        Parameters:
        findingTypeAggregation - An object that contains details about an aggregation request based on finding types.
      • fromFindingTypeAggregation

        public static AggregationRequest fromFindingTypeAggregation​(Consumer<FindingTypeAggregation.Builder> findingTypeAggregation)
        Create an instance of this class with findingTypeAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on finding types.

        Parameters:
        findingTypeAggregation - An object that contains details about an aggregation request based on finding types.
      • fromImageLayerAggregation

        public static AggregationRequest fromImageLayerAggregation​(ImageLayerAggregation imageLayerAggregation)
        Create an instance of this class with imageLayerAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on container image layers.

        Parameters:
        imageLayerAggregation - An object that contains details about an aggregation request based on container image layers.
      • fromImageLayerAggregation

        public static AggregationRequest fromImageLayerAggregation​(Consumer<ImageLayerAggregation.Builder> imageLayerAggregation)
        Create an instance of this class with imageLayerAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on container image layers.

        Parameters:
        imageLayerAggregation - An object that contains details about an aggregation request based on container image layers.
      • fromLambdaFunctionAggregation

        public static AggregationRequest fromLambdaFunctionAggregation​(LambdaFunctionAggregation lambdaFunctionAggregation)
        Create an instance of this class with lambdaFunctionAggregation() initialized to the given value.

        Returns an object with findings aggregated by AWS Lambda function.

        Parameters:
        lambdaFunctionAggregation - Returns an object with findings aggregated by AWS Lambda function.
      • fromLambdaFunctionAggregation

        public static AggregationRequest fromLambdaFunctionAggregation​(Consumer<LambdaFunctionAggregation.Builder> lambdaFunctionAggregation)
        Create an instance of this class with lambdaFunctionAggregation() initialized to the given value.

        Returns an object with findings aggregated by AWS Lambda function.

        Parameters:
        lambdaFunctionAggregation - Returns an object with findings aggregated by AWS Lambda function.
      • fromLambdaLayerAggregation

        public static AggregationRequest fromLambdaLayerAggregation​(LambdaLayerAggregation lambdaLayerAggregation)
        Create an instance of this class with lambdaLayerAggregation() initialized to the given value.

        Returns an object with findings aggregated by AWS Lambda layer.

        Parameters:
        lambdaLayerAggregation - Returns an object with findings aggregated by AWS Lambda layer.
      • fromLambdaLayerAggregation

        public static AggregationRequest fromLambdaLayerAggregation​(Consumer<LambdaLayerAggregation.Builder> lambdaLayerAggregation)
        Create an instance of this class with lambdaLayerAggregation() initialized to the given value.

        Returns an object with findings aggregated by AWS Lambda layer.

        Parameters:
        lambdaLayerAggregation - Returns an object with findings aggregated by AWS Lambda layer.
      • fromPackageAggregation

        public static AggregationRequest fromPackageAggregation​(PackageAggregation packageAggregation)
        Create an instance of this class with packageAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on operating system package type.

        Parameters:
        packageAggregation - An object that contains details about an aggregation request based on operating system package type.
      • fromPackageAggregation

        public static AggregationRequest fromPackageAggregation​(Consumer<PackageAggregation.Builder> packageAggregation)
        Create an instance of this class with packageAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on operating system package type.

        Parameters:
        packageAggregation - An object that contains details about an aggregation request based on operating system package type.
      • fromRepositoryAggregation

        public static AggregationRequest fromRepositoryAggregation​(RepositoryAggregation repositoryAggregation)
        Create an instance of this class with repositoryAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon ECR repositories.

        Parameters:
        repositoryAggregation - An object that contains details about an aggregation request based on Amazon ECR repositories.
      • fromRepositoryAggregation

        public static AggregationRequest fromRepositoryAggregation​(Consumer<RepositoryAggregation.Builder> repositoryAggregation)
        Create an instance of this class with repositoryAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on Amazon ECR repositories.

        Parameters:
        repositoryAggregation - An object that contains details about an aggregation request based on Amazon ECR repositories.
      • fromTitleAggregation

        public static AggregationRequest fromTitleAggregation​(TitleAggregation titleAggregation)
        Create an instance of this class with titleAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on finding title.

        Parameters:
        titleAggregation - An object that contains details about an aggregation request based on finding title.
      • fromTitleAggregation

        public static AggregationRequest fromTitleAggregation​(Consumer<TitleAggregation.Builder> titleAggregation)
        Create an instance of this class with titleAggregation() initialized to the given value.

        An object that contains details about an aggregation request based on finding title.

        Parameters:
        titleAggregation - An object that contains details about an aggregation request based on finding title.