Interface Ec2InstanceAggregationResponse.Builder

  • Method Details

    • accountId

      The Amazon Web Services account for the Amazon EC2 instance.

      Parameters:
      accountId - The Amazon Web Services account for the Amazon EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ami

      The Amazon Machine Image (AMI) of the Amazon EC2 instance.

      Parameters:
      ami - The Amazon Machine Image (AMI) of the Amazon EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      The Amazon EC2 instance ID.

      Parameters:
      instanceId - The Amazon EC2 instance ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceTags

      The tags attached to the instance.

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

      Ec2InstanceAggregationResponse.Builder networkFindings(Long networkFindings)

      The number of network findings for the Amazon EC2 instance.

      Parameters:
      networkFindings - The number of network findings for the Amazon EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingSystem

      Ec2InstanceAggregationResponse.Builder operatingSystem(String operatingSystem)

      The operating system of the Amazon EC2 instance.

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

      An object that contains the count of matched findings per severity.

      Parameters:
      severityCounts - An object that contains the count of matched findings per severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      An object that contains the count of matched findings per severity.

      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: