Interface Finding.Builder

    • Method Detail

      • awsAccountId

        Finding.Builder awsAccountId​(String awsAccountId)

        The Amazon Web Services account ID associated with the finding.

        Parameters:
        awsAccountId - The Amazon Web Services account ID associated with the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codeVulnerabilityDetails

        Finding.Builder codeVulnerabilityDetails​(CodeVulnerabilityDetails codeVulnerabilityDetails)

        Details about the code vulnerability identified in a Lambda function used to filter findings.

        Parameters:
        codeVulnerabilityDetails - Details about the code vulnerability identified in a Lambda function used to filter findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Finding.Builder description​(String description)

        The description of the finding.

        Parameters:
        description - The description of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • epss

        Finding.Builder epss​(EpssDetails epss)

        The finding's EPSS score.

        Parameters:
        epss - The finding's EPSS score.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exploitAvailable

        Finding.Builder exploitAvailable​(String exploitAvailable)

        If a finding discovered in your environment has an exploit available.

        Parameters:
        exploitAvailable - If a finding discovered in your environment has an exploit available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExploitAvailable, ExploitAvailable
      • exploitAvailable

        Finding.Builder exploitAvailable​(ExploitAvailable exploitAvailable)

        If a finding discovered in your environment has an exploit available.

        Parameters:
        exploitAvailable - If a finding discovered in your environment has an exploit available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExploitAvailable, ExploitAvailable
      • exploitabilityDetails

        Finding.Builder exploitabilityDetails​(ExploitabilityDetails exploitabilityDetails)

        The details of an exploit available for a finding discovered in your environment.

        Parameters:
        exploitabilityDetails - The details of an exploit available for a finding discovered in your environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingArn

        Finding.Builder findingArn​(String findingArn)

        The Amazon Resource Number (ARN) of the finding.

        Parameters:
        findingArn - The Amazon Resource Number (ARN) of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firstObservedAt

        Finding.Builder firstObservedAt​(Instant firstObservedAt)

        The date and time that the finding was first observed.

        Parameters:
        firstObservedAt - The date and time that the finding was first observed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fixAvailable

        Finding.Builder fixAvailable​(String fixAvailable)

        Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

        Parameters:
        fixAvailable - Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FixAvailable, FixAvailable
      • fixAvailable

        Finding.Builder fixAvailable​(FixAvailable fixAvailable)

        Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

        Parameters:
        fixAvailable - Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FixAvailable, FixAvailable
      • inspectorScore

        Finding.Builder inspectorScore​(Double inspectorScore)

        The Amazon Inspector score given to the finding.

        Parameters:
        inspectorScore - The Amazon Inspector score given to the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inspectorScoreDetails

        Finding.Builder inspectorScoreDetails​(InspectorScoreDetails inspectorScoreDetails)

        An object that contains details of the Amazon Inspector score.

        Parameters:
        inspectorScoreDetails - An object that contains details of the Amazon Inspector score.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastObservedAt

        Finding.Builder lastObservedAt​(Instant lastObservedAt)

        The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.

        Parameters:
        lastObservedAt - The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkReachabilityDetails

        Finding.Builder networkReachabilityDetails​(NetworkReachabilityDetails networkReachabilityDetails)

        An object that contains the details of a network reachability finding.

        Parameters:
        networkReachabilityDetails - An object that contains the details of a network reachability finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packageVulnerabilityDetails

        Finding.Builder packageVulnerabilityDetails​(PackageVulnerabilityDetails packageVulnerabilityDetails)

        An object that contains the details of a package vulnerability finding.

        Parameters:
        packageVulnerabilityDetails - An object that contains the details of a package vulnerability finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remediation

        Finding.Builder remediation​(Remediation remediation)

        An object that contains the details about how to remediate a finding.

        Parameters:
        remediation - An object that contains the details about how to remediate a finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        Finding.Builder resources​(Collection<Resource> resources)

        Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.

        Parameters:
        resources - Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        Finding.Builder resources​(Resource... resources)

        Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.

        Parameters:
        resources - Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        Finding.Builder resources​(Consumer<Resource.Builder>... resources)

        Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #resources(List).

        Parameters:
        resources - a consumer that will call methods on Resource.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #resources(java.util.Collection)
      • severity

        Finding.Builder severity​(String severity)

        The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.

        Parameters:
        severity - The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Severity, Severity
      • severity

        Finding.Builder severity​(Severity severity)

        The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.

        Parameters:
        severity - The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Severity, Severity
      • status

        Finding.Builder status​(String status)

        The status of the finding.

        Parameters:
        status - The status of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingStatus, FindingStatus
      • title

        Finding.Builder title​(String title)

        The title of the finding.

        Parameters:
        title - The title of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Finding.Builder type​(String type)

        The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.

        Parameters:
        type - The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType
      • type

        Finding.Builder type​(FindingType type)

        The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.

        Parameters:
        type - The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType
      • updatedAt

        Finding.Builder updatedAt​(Instant updatedAt)

        The date and time the finding was last updated at.

        Parameters:
        updatedAt - The date and time the finding was last updated at.
        Returns:
        Returns a reference to this object so that method calls can be chained together.