Interface GetEvidenceResponse.Builder

  • Method Details

    • evidenceId

      GetEvidenceResponse.Builder evidenceId(String evidenceId)

      The unique identifier of the evidence item.

      Parameters:
      evidenceId - The unique identifier of the evidence item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version number of the evidence.

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

      The human-readable title of the evidence.

      Parameters:
      title - The human-readable title of the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetEvidenceResponse.Builder description(String description)

      The optional description of the evidence.

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

      GetEvidenceResponse.Builder createdAt(Instant createdAt)

      The timestamp when the evidence was created.

      Parameters:
      createdAt - The timestamp when the evidence was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetEvidenceResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the evidence was last updated.

      Parameters:
      updatedAt - The timestamp when the evidence was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The lifecycle status of the evidence.

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

      The lifecycle status of the evidence.

      Parameters:
      status - The lifecycle status of the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksum

      GetEvidenceResponse.Builder checksum(String checksum)

      The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.

      Parameters:
      checksum - The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reference

      GetEvidenceResponse.Builder reference(String reference)

      The external reference URI if this is reference-based evidence.

      Parameters:
      reference - The external reference URI if this is reference-based evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedControls

      The controls this evidence is linked to.

      Parameters:
      linkedControls - The controls this evidence is linked to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedControls

      GetEvidenceResponse.Builder linkedControls(ControlReferenceDetail... linkedControls)

      The controls this evidence is linked to.

      Parameters:
      linkedControls - The controls this evidence is linked to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedControls

      The controls this evidence is linked to.

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

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

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

      GetEvidenceResponse.Builder uploadedBy(String uploadedBy)

      The principal that supplied this evidence.

      Parameters:
      uploadedBy - The principal that supplied this evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkMode

      GetEvidenceResponse.Builder linkMode(String linkMode)

      The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to AUTO when you start a new analysis with UpdateEvidence.

      Parameters:
      linkMode - The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to AUTO when you start a new analysis with UpdateEvidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkMode

      The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to AUTO when you start a new analysis with UpdateEvidence.

      Parameters:
      linkMode - The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to AUTO when you start a new analysis with UpdateEvidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • purpose

      What the evidence is for. AWS Assurance sets the purpose when you add the evidence.

      Parameters:
      purpose - What the evidence is for. AWS Assurance sets the purpose when you add the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • purpose

      What the evidence is for. AWS Assurance sets the purpose when you add the evidence.

      Parameters:
      purpose - What the evidence is for. AWS Assurance sets the purpose when you add the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastAutoAnalysisStartedAt

      GetEvidenceResponse.Builder lastAutoAnalysisStartedAt(Instant lastAutoAnalysisStartedAt)

      The time when the most recent automatic linking analysis of this evidence version started. For the result, see status. This field is absent if no analysis of this version has started.

      Parameters:
      lastAutoAnalysisStartedAt - The time when the most recent automatic linking analysis of this evidence version started. For the result, see status. This field is absent if no analysis of this version has started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.