Interface VmInstanceAggregation.Builder

  • Method Details

    • resourceIds

      The resource IDs to aggregate findings for.

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

      VmInstanceAggregation.Builder resourceIds(StringFilter... resourceIds)

      The resource IDs to aggregate findings for.

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

      The resource 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 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:
    • operatingSystems

      VmInstanceAggregation.Builder operatingSystems(Collection<StringFilter> operatingSystems)

      The operating systems to aggregate findings for.

      Parameters:
      operatingSystems - The operating systems to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingSystems

      VmInstanceAggregation.Builder operatingSystems(StringFilter... operatingSystems)

      The operating systems to aggregate findings for.

      Parameters:
      operatingSystems - The operating systems to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingSystems

      VmInstanceAggregation.Builder operatingSystems(Consumer<StringFilter.Builder>... operatingSystems)

      The operating systems 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 operatingSystems(List<StringFilter>).

      Parameters:
      operatingSystems - 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:
    • instanceTags

      VmInstanceAggregation.Builder instanceTags(Collection<MapFilter> instanceTags)

      The instance tags to aggregate findings for.

      Parameters:
      instanceTags - The instance tags to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTags

      VmInstanceAggregation.Builder instanceTags(MapFilter... instanceTags)

      The instance tags to aggregate findings for.

      Parameters:
      instanceTags - The instance tags to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTags

      The instance tags to aggregate findings for.

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

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

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

      VmInstanceAggregation.Builder vmImageReferences(Collection<StringFilter> vmImageReferences)

      The VM image references to aggregate findings for.

      Parameters:
      vmImageReferences - The VM image references to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmImageReferences

      VmInstanceAggregation.Builder vmImageReferences(StringFilter... vmImageReferences)

      The VM image references to aggregate findings for.

      Parameters:
      vmImageReferences - The VM image references to aggregate findings for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmImageReferences

      VmInstanceAggregation.Builder vmImageReferences(Consumer<StringFilter.Builder>... vmImageReferences)

      The VM image references 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 vmImageReferences(List<StringFilter>).

      Parameters:
      vmImageReferences - 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

      VmInstanceAggregation.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.

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

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

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

      VmInstanceAggregation.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.

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

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

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

      VmInstanceAggregation.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.

      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:
    • cloudPartitions

      VmInstanceAggregation.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

      VmInstanceAggregation.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

      VmInstanceAggregation.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:
    • 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.

      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.

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

      VmInstanceAggregation.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.

      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.

      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.

      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:
    • 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

      VmInstanceAggregation.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:
    • cloudAccountIds

      VmInstanceAggregation.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

      VmInstanceAggregation.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

      VmInstanceAggregation.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:
    • sortOrder

      VmInstanceAggregation.Builder sortOrder(String sortOrder)

      The order to sort results by. Valid values are ASC and DESC.

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

      The order to sort results by. Valid values are ASC and DESC.

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

      The value to sort results by. Specify a field name from the aggregation response, such as CRITICAL, HIGH, ALL, or NETWORK_FINDINGS.

      Parameters:
      sortBy - The value to sort results by. Specify a field name from the aggregation response, such as CRITICAL, HIGH, ALL, or NETWORK_FINDINGS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortBy

      The value to sort results by. Specify a field name from the aggregation response, such as CRITICAL, HIGH, ALL, or NETWORK_FINDINGS.

      Parameters:
      sortBy - The value to sort results by. Specify a field name from the aggregation response, such as CRITICAL, HIGH, ALL, or NETWORK_FINDINGS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: