Interface Ec2InstanceAggregationResponse.Builder

    • Method Detail

      • accountId

        Ec2InstanceAggregationResponse.Builder accountId​(String 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

        Ec2InstanceAggregationResponse.Builder ami​(String 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

        Ec2InstanceAggregationResponse.Builder instanceId​(String 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

        Ec2InstanceAggregationResponse.Builder instanceTags​(Map<String,​String> 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

        Ec2InstanceAggregationResponse.Builder severityCounts​(SeverityCounts 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.