Class AggregationRequest
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AggregationRequest.Builder,
AggregationRequest>
Contains details about an aggregation request.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionfinal AccountAggregation
An object that contains details about an aggregation request based on Amazon Web Services account IDs.final AmiAggregation
An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).An object that contains details about an aggregation request based on Amazon ECR container images.static AggregationRequest.Builder
builder()
An object that contains details about an aggregation request based on code repositories.final Ec2InstanceAggregation
An object that contains details about an aggregation request based on Amazon EC2 instances.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FindingTypeAggregation
An object that contains details about an aggregation request based on finding types.static AggregationRequest
fromAccountAggregation
(Consumer<AccountAggregation.Builder> accountAggregation) Create an instance of this class withaccountAggregation()
initialized to the given value.static AggregationRequest
fromAccountAggregation
(AccountAggregation accountAggregation) Create an instance of this class withaccountAggregation()
initialized to the given value.static AggregationRequest
fromAmiAggregation
(Consumer<AmiAggregation.Builder> amiAggregation) Create an instance of this class withamiAggregation()
initialized to the given value.static AggregationRequest
fromAmiAggregation
(AmiAggregation amiAggregation) Create an instance of this class withamiAggregation()
initialized to the given value.static AggregationRequest
fromAwsEcrContainerAggregation
(Consumer<AwsEcrContainerAggregation.Builder> awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()
initialized to the given value.static AggregationRequest
fromAwsEcrContainerAggregation
(AwsEcrContainerAggregation awsEcrContainerAggregation) Create an instance of this class withawsEcrContainerAggregation()
initialized to the given value.static AggregationRequest
fromCodeRepositoryAggregation
(Consumer<CodeRepositoryAggregation.Builder> codeRepositoryAggregation) Create an instance of this class withcodeRepositoryAggregation()
initialized to the given value.static AggregationRequest
fromCodeRepositoryAggregation
(CodeRepositoryAggregation codeRepositoryAggregation) Create an instance of this class withcodeRepositoryAggregation()
initialized to the given value.static AggregationRequest
fromEc2InstanceAggregation
(Consumer<Ec2InstanceAggregation.Builder> ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()
initialized to the given value.static AggregationRequest
fromEc2InstanceAggregation
(Ec2InstanceAggregation ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()
initialized to the given value.static AggregationRequest
fromFindingTypeAggregation
(Consumer<FindingTypeAggregation.Builder> findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()
initialized to the given value.static AggregationRequest
fromFindingTypeAggregation
(FindingTypeAggregation findingTypeAggregation) Create an instance of this class withfindingTypeAggregation()
initialized to the given value.static AggregationRequest
fromImageLayerAggregation
(Consumer<ImageLayerAggregation.Builder> imageLayerAggregation) Create an instance of this class withimageLayerAggregation()
initialized to the given value.static AggregationRequest
fromImageLayerAggregation
(ImageLayerAggregation imageLayerAggregation) Create an instance of this class withimageLayerAggregation()
initialized to the given value.static AggregationRequest
fromLambdaFunctionAggregation
(Consumer<LambdaFunctionAggregation.Builder> lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()
initialized to the given value.static AggregationRequest
fromLambdaFunctionAggregation
(LambdaFunctionAggregation lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()
initialized to the given value.static AggregationRequest
fromLambdaLayerAggregation
(Consumer<LambdaLayerAggregation.Builder> lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()
initialized to the given value.static AggregationRequest
fromLambdaLayerAggregation
(LambdaLayerAggregation lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()
initialized to the given value.static AggregationRequest
fromPackageAggregation
(Consumer<PackageAggregation.Builder> packageAggregation) Create an instance of this class withpackageAggregation()
initialized to the given value.static AggregationRequest
fromPackageAggregation
(PackageAggregation packageAggregation) Create an instance of this class withpackageAggregation()
initialized to the given value.static AggregationRequest
fromRepositoryAggregation
(Consumer<RepositoryAggregation.Builder> repositoryAggregation) Create an instance of this class withrepositoryAggregation()
initialized to the given value.static AggregationRequest
fromRepositoryAggregation
(RepositoryAggregation repositoryAggregation) Create an instance of this class withrepositoryAggregation()
initialized to the given value.static AggregationRequest
fromTitleAggregation
(Consumer<TitleAggregation.Builder> titleAggregation) Create an instance of this class withtitleAggregation()
initialized to the given value.static AggregationRequest
fromTitleAggregation
(TitleAggregation titleAggregation) Create an instance of this class withtitleAggregation()
initialized to the given value.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final ImageLayerAggregation
An object that contains details about an aggregation request based on container image layers.Returns an object with findings aggregated by Amazon Web Services Lambda function.final LambdaLayerAggregation
Returns an object with findings aggregated by Amazon Web Services Lambda layer.final PackageAggregation
An object that contains details about an aggregation request based on operating system package type.final RepositoryAggregation
An object that contains details about an aggregation request based on Amazon ECR repositories.static Class
<? extends AggregationRequest.Builder> final TitleAggregation
An object that contains details about an aggregation request based on finding title.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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 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
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
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.
-
codeRepositoryAggregation
An object that contains details about an aggregation request based on code repositories.
- Returns:
- An object that contains details about an aggregation request based on code repositories.
-
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
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
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
Returns an object with findings aggregated by Amazon Web Services Lambda function.
- Returns:
- Returns an object with findings aggregated by Amazon Web Services Lambda function.
-
lambdaLayerAggregation
Returns an object with findings aggregated by Amazon Web Services Lambda layer.
- Returns:
- Returns an object with findings aggregated by Amazon Web Services Lambda layer.
-
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
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
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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AggregationRequest.Builder,
AggregationRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Create an instance of this class withaccountAggregation()
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 withaccountAggregation()
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
Create an instance of this class withamiAggregation()
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 withamiAggregation()
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 withawsEcrContainerAggregation()
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 withawsEcrContainerAggregation()
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.
-
fromCodeRepositoryAggregation
public static AggregationRequest fromCodeRepositoryAggregation(CodeRepositoryAggregation codeRepositoryAggregation) Create an instance of this class withcodeRepositoryAggregation()
initialized to the given value.An object that contains details about an aggregation request based on code repositories.
- Parameters:
codeRepositoryAggregation
- An object that contains details about an aggregation request based on code repositories.
-
fromCodeRepositoryAggregation
public static AggregationRequest fromCodeRepositoryAggregation(Consumer<CodeRepositoryAggregation.Builder> codeRepositoryAggregation) Create an instance of this class withcodeRepositoryAggregation()
initialized to the given value.An object that contains details about an aggregation request based on code repositories.
- Parameters:
codeRepositoryAggregation
- An object that contains details about an aggregation request based on code repositories.
-
fromEc2InstanceAggregation
public static AggregationRequest fromEc2InstanceAggregation(Ec2InstanceAggregation ec2InstanceAggregation) Create an instance of this class withec2InstanceAggregation()
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 withec2InstanceAggregation()
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 withfindingTypeAggregation()
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 withfindingTypeAggregation()
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 withimageLayerAggregation()
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 withimageLayerAggregation()
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 withlambdaFunctionAggregation()
initialized to the given value.Returns an object with findings aggregated by Amazon Web Services Lambda function.
- Parameters:
lambdaFunctionAggregation
- Returns an object with findings aggregated by Amazon Web Services Lambda function.
-
fromLambdaFunctionAggregation
public static AggregationRequest fromLambdaFunctionAggregation(Consumer<LambdaFunctionAggregation.Builder> lambdaFunctionAggregation) Create an instance of this class withlambdaFunctionAggregation()
initialized to the given value.Returns an object with findings aggregated by Amazon Web Services Lambda function.
- Parameters:
lambdaFunctionAggregation
- Returns an object with findings aggregated by Amazon Web Services Lambda function.
-
fromLambdaLayerAggregation
public static AggregationRequest fromLambdaLayerAggregation(LambdaLayerAggregation lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()
initialized to the given value.Returns an object with findings aggregated by Amazon Web Services Lambda layer.
- Parameters:
lambdaLayerAggregation
- Returns an object with findings aggregated by Amazon Web Services Lambda layer.
-
fromLambdaLayerAggregation
public static AggregationRequest fromLambdaLayerAggregation(Consumer<LambdaLayerAggregation.Builder> lambdaLayerAggregation) Create an instance of this class withlambdaLayerAggregation()
initialized to the given value.Returns an object with findings aggregated by Amazon Web Services Lambda layer.
- Parameters:
lambdaLayerAggregation
- Returns an object with findings aggregated by Amazon Web Services Lambda layer.
-
fromPackageAggregation
Create an instance of this class withpackageAggregation()
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 withpackageAggregation()
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 withrepositoryAggregation()
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 withrepositoryAggregation()
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
Create an instance of this class withtitleAggregation()
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 withtitleAggregation()
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.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAggregationRequest.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 beAggregationRequest.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-