Interface ImageLayerAggregation.Builder

  • Method Details

    • repositories

      The repository associated with the container image hosting the layers.

      Parameters:
      repositories - The repository associated with the container image hosting the layers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      ImageLayerAggregation.Builder repositories(StringFilter... repositories)

      The repository associated with the container image hosting the layers.

      Parameters:
      repositories - The repository associated with the container image hosting the layers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      The repository associated with the container image hosting the layers.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositories(List<StringFilter>).

      Parameters:
      repositories - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceIds

      The ID of the container image layer.

      Parameters:
      resourceIds - The ID of the container image layer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIds

      ImageLayerAggregation.Builder resourceIds(StringFilter... resourceIds)

      The ID of the container image layer.

      Parameters:
      resourceIds - The ID of the container image layer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIds

      The ID of the container image layer.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceIds(List<StringFilter>).

      Parameters:
      resourceIds - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • layerHashes

      The hashes associated with the layers.

      Parameters:
      layerHashes - The hashes associated with the layers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layerHashes

      ImageLayerAggregation.Builder layerHashes(StringFilter... layerHashes)

      The hashes associated with the layers.

      Parameters:
      layerHashes - The hashes associated with the layers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layerHashes

      The hashes associated with the layers.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to layerHashes(List<StringFilter>).

      Parameters:
      layerHashes - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudProviders

      ImageLayerAggregation.Builder cloudProviders(Collection<StringFilter> cloudProviders)

      The cloud providers to aggregate findings for. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      • GCP – Findings from Google Cloud Platform (GCP) resources.

      Parameters:
      cloudProviders - The cloud providers to aggregate findings for. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      • GCP – Findings from Google Cloud Platform (GCP) resources.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudProviders

      ImageLayerAggregation.Builder cloudProviders(StringFilter... cloudProviders)

      The cloud providers to aggregate findings for. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      • GCP – Findings from Google Cloud Platform (GCP) resources.

      Parameters:
      cloudProviders - The cloud providers to aggregate findings for. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      • GCP – Findings from Google Cloud Platform (GCP) resources.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudProviders

      ImageLayerAggregation.Builder cloudProviders(Consumer<StringFilter.Builder>... cloudProviders)

      The cloud providers to aggregate findings for. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      • GCP – Findings from Google Cloud Platform (GCP) resources.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudProviders(List<StringFilter>).

      Parameters:
      cloudProviders - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudAccountIds

      ImageLayerAggregation.Builder cloudAccountIds(Collection<StringFilter> cloudAccountIds)

      The cloud account IDs to aggregate findings for.

      Parameters:
      cloudAccountIds - The cloud account IDs to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudAccountIds

      ImageLayerAggregation.Builder cloudAccountIds(StringFilter... cloudAccountIds)

      The cloud account IDs to aggregate findings for.

      Parameters:
      cloudAccountIds - The cloud account IDs to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudAccountIds

      ImageLayerAggregation.Builder cloudAccountIds(Consumer<StringFilter.Builder>... cloudAccountIds)

      The cloud account IDs to aggregate findings for.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudAccountIds(List<StringFilter>).

      Parameters:
      cloudAccountIds - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudOrgIds

      The cloud organization IDs to aggregate findings for.

      Parameters:
      cloudOrgIds - The cloud organization IDs to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudOrgIds

      ImageLayerAggregation.Builder cloudOrgIds(StringFilter... cloudOrgIds)

      The cloud organization IDs to aggregate findings for.

      Parameters:
      cloudOrgIds - The cloud organization IDs to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudOrgIds

      The cloud organization IDs to aggregate findings for.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudOrgIds(List<StringFilter>).

      Parameters:
      cloudOrgIds - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudRegions

      The cloud regions to aggregate findings for. The value format depends on the cloud provider:

      • An Amazon Web Services Region, such as us-east-1.

      • An Azure region, such as eastus.

      • A Google Cloud Platform (GCP) location, such as the region us-central1 or the zone us-central1-a.

      Parameters:
      cloudRegions - The cloud regions to aggregate findings for. The value format depends on the cloud provider:

      • An Amazon Web Services Region, such as us-east-1.

      • An Azure region, such as eastus.

      • A Google Cloud Platform (GCP) location, such as the region us-central1 or the zone us-central1-a.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudRegions

      ImageLayerAggregation.Builder cloudRegions(StringFilter... cloudRegions)

      The cloud regions to aggregate findings for. The value format depends on the cloud provider:

      • An Amazon Web Services Region, such as us-east-1.

      • An Azure region, such as eastus.

      • A Google Cloud Platform (GCP) location, such as the region us-central1 or the zone us-central1-a.

      Parameters:
      cloudRegions - The cloud regions to aggregate findings for. The value format depends on the cloud provider:

      • An Amazon Web Services Region, such as us-east-1.

      • An Azure region, such as eastus.

      • A Google Cloud Platform (GCP) location, such as the region us-central1 or the zone us-central1-a.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudRegions

      The cloud regions to aggregate findings for. The value format depends on the cloud provider:

      • An Amazon Web Services Region, such as us-east-1.

      • An Azure region, such as eastus.

      • A Google Cloud Platform (GCP) location, such as the region us-central1 or the zone us-central1-a.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudRegions(List<StringFilter>).

      Parameters:
      cloudRegions - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudPartitions

      ImageLayerAggregation.Builder cloudPartitions(Collection<StringFilter> cloudPartitions)

      The cloud partitions to aggregate findings for. Valid values:

      • aws – Amazon Web Services commercial Regions.

      • aws-cn – Amazon Web Services China Regions.

      • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

      • AzureCloud – Azure commercial Regions.

      Parameters:
      cloudPartitions - The cloud partitions to aggregate findings for. Valid values:

      • aws – Amazon Web Services commercial Regions.

      • aws-cn – Amazon Web Services China Regions.

      • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

      • AzureCloud – Azure commercial Regions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudPartitions

      ImageLayerAggregation.Builder cloudPartitions(StringFilter... cloudPartitions)

      The cloud partitions to aggregate findings for. Valid values:

      • aws – Amazon Web Services commercial Regions.

      • aws-cn – Amazon Web Services China Regions.

      • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

      • AzureCloud – Azure commercial Regions.

      Parameters:
      cloudPartitions - The cloud partitions to aggregate findings for. Valid values:

      • aws – Amazon Web Services commercial Regions.

      • aws-cn – Amazon Web Services China Regions.

      • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

      • AzureCloud – Azure commercial Regions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudPartitions

      ImageLayerAggregation.Builder cloudPartitions(Consumer<StringFilter.Builder>... cloudPartitions)

      The cloud partitions to aggregate findings for. Valid values:

      • aws – Amazon Web Services commercial Regions.

      • aws-cn – Amazon Web Services China Regions.

      • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

      • AzureCloud – Azure commercial Regions.

      This is a convenience method that creates an instance of the StringFilter.Builder avoiding the need to create one manually via StringFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudPartitions(List<StringFilter>).

      Parameters:
      cloudPartitions - a consumer that will call methods on StringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      ImageLayerAggregation.Builder sortOrder(String sortOrder)

      The order to sort results by.

      Parameters:
      sortOrder - The order to sort results by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      The order to sort results by.

      Parameters:
      sortOrder - The order to sort results by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortBy

      The value to sort results by.

      Parameters:
      sortBy - The value to sort results by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortBy

      The value to sort results by.

      Parameters:
      sortBy - The value to sort results by.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: