Interface VmInstanceAggregationResponse.Builder

  • Method Details

    • resourceId

      The resource ID for the VM instance.

      Parameters:
      resourceId - The resource ID for the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudProvider

      VmInstanceAggregationResponse.Builder cloudProvider(String cloudProvider)

      The cloud service provider associated with this VM instance aggregation. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      Parameters:
      cloudProvider - The cloud service provider associated with this VM instance aggregation. 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.
      See Also:
    • cloudProvider

      VmInstanceAggregationResponse.Builder cloudProvider(Provider cloudProvider)

      The cloud service provider associated with this VM instance aggregation. Valid values:

      • AWS – Findings from Amazon Web Services resources.

      • AZURE – Findings from Microsoft Azure resources.

      Parameters:
      cloudProvider - The cloud service provider associated with this VM instance aggregation. 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.
      See Also:
    • cloudAccountId

      VmInstanceAggregationResponse.Builder cloudAccountId(String cloudAccountId)

      The cloud account ID for the VM instance aggregation.

      Parameters:
      cloudAccountId - The cloud account ID for the VM instance aggregation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudPartition

      VmInstanceAggregationResponse.Builder cloudPartition(String cloudPartition)

      The cloud infrastructure partition associated with this VM instance aggregation. 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:
      cloudPartition - The cloud infrastructure partition associated with this VM instance aggregation. 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.
    • cloudRegion

      The cloud Region associated with this VM instance aggregation. 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:
      cloudRegion - The cloud Region associated with this VM instance aggregation. 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.
    • cloudOrgId

      The cloud organization ID for the VM instance aggregation.

      Parameters:
      cloudOrgId - The cloud organization ID for the VM instance aggregation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmImageReference

      VmInstanceAggregationResponse.Builder vmImageReference(String vmImageReference)

      The VM image reference for the VM instance.

      Parameters:
      vmImageReference - The VM image reference for the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingSystem

      VmInstanceAggregationResponse.Builder operatingSystem(String operatingSystem)

      The operating system of the VM instance.

      Parameters:
      operatingSystem - The operating system of the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags attached to the VM instance.

      Parameters:
      tags - The tags attached to the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      The account ID associated with the VM instance.

      Parameters:
      accountId - The account ID associated with the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      VmInstanceAggregationResponse.Builder severityCounts(SeverityCounts severityCounts)
      Sets the value of the SeverityCounts property for this object.
      Parameters:
      severityCounts - The new value for the SeverityCounts property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      default VmInstanceAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)
      Sets the value of the SeverityCounts property for this object. This is a convenience method that creates an instance of the SeverityCounts.Builder avoiding the need to create one manually via SeverityCounts.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to severityCounts(SeverityCounts).

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

      VmInstanceAggregationResponse.Builder networkFindings(Long networkFindings)

      The number of network findings for the VM instance. This field applies only to Amazon Web Services resources.

      Parameters:
      networkFindings - The number of network findings for the VM instance. This field applies only to Amazon Web Services resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exploitAvailableActiveFindingsCount

      VmInstanceAggregationResponse.Builder exploitAvailableActiveFindingsCount(Long exploitAvailableActiveFindingsCount)

      The number of active findings with an exploit available for the VM instance.

      Parameters:
      exploitAvailableActiveFindingsCount - The number of active findings with an exploit available for the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixAvailableActiveFindingsCount

      VmInstanceAggregationResponse.Builder fixAvailableActiveFindingsCount(Long fixAvailableActiveFindingsCount)

      The number of active findings with a fix available for the VM instance.

      Parameters:
      fixAvailableActiveFindingsCount - The number of active findings with a fix available for the VM instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.