Interface FindingPosture.Builder

  • Method Details

    • application

      FindingPosture.Builder application(String application)

      The application the posture was assessed against.

      Parameters:
      application - The application the posture was assessed against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationUid

      FindingPosture.Builder applicationUid(String applicationUid)
      Sets the value of the ApplicationUid property for this object.
      Parameters:
      applicationUid - The new value for the ApplicationUid property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationVersion

      FindingPosture.Builder applicationVersion(String applicationVersion)
      Sets the value of the ApplicationVersion property for this object.
      Parameters:
      applicationVersion - The new value for the ApplicationVersion property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • control

      FindingPosture.Builder control(String control)

      The control assessed, and the producer's description of it.

      Parameters:
      control - The control assessed, and the producer's description of it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      FindingPosture.Builder description(String description)
      Sets the value of the Description property for this object.
      Parameters:
      description - The new value for the Description property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standards

      FindingPosture.Builder standards(Collection<String> standards)

      Standards and requirements the control maps to.

      Parameters:
      standards - Standards and requirements the control maps to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standards

      FindingPosture.Builder standards(String... standards)

      Standards and requirements the control maps to.

      Parameters:
      standards - Standards and requirements the control maps to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      FindingPosture.Builder requirements(Collection<String> requirements)
      Sets the value of the Requirements property for this object.
      Parameters:
      requirements - The new value for the Requirements property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      FindingPosture.Builder requirements(String... requirements)
      Sets the value of the Requirements property for this object.
      Parameters:
      requirements - The new value for the Requirements property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checks

      The individual checks performed.

      Parameters:
      checks - The individual checks performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checks

      The individual checks performed.

      Parameters:
      checks - The individual checks performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checks

      The individual checks performed.

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

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

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

      The producer's compliance status, and the enum value behind it.

      Parameters:
      status - The producer's compliance status, and the enum value behind it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusId

      FindingPosture.Builder statusId(Integer statusId)

      The producer's numeric enum value for status.

      Parameters:
      statusId - The producer's numeric enum value for status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remediation

      FindingPosture.Builder remediation(String remediation)
      Sets the value of the Remediation property for this object.
      Parameters:
      remediation - The new value for the Remediation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remediationReferences

      FindingPosture.Builder remediationReferences(Collection<String> remediationReferences)
      Sets the value of the RemediationReferences property for this object.
      Parameters:
      remediationReferences - The new value for the RemediationReferences property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remediationReferences

      FindingPosture.Builder remediationReferences(String... remediationReferences)
      Sets the value of the RemediationReferences property for this object.
      Parameters:
      remediationReferences - The new value for the RemediationReferences property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.