Interface EvidenceSummary.Builder

  • Method Details

    • evidenceId

      EvidenceSummary.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

      EvidenceSummary.Builder version(Integer 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.
    • project

      EvidenceSummary.Builder project(String project)

      The name of the project.

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

      EvidenceSummary.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

      EvidenceSummary.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 current status of the evidence item.

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

      The current status of the evidence item.

      Parameters:
      status - The current status of the evidence item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      EvidenceSummary.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

      EvidenceSummary.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.
    • connectionType

      EvidenceSummary.Builder connectionType(String connectionType)

      The environment connection type used to read this reference evidence. Absent for direct uploads.

      Parameters:
      connectionType - The environment connection type used to read this reference evidence. Absent for direct uploads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionType

      EvidenceSummary.Builder connectionType(ConnectionType connectionType)

      The environment connection type used to read this reference evidence. Absent for direct uploads.

      Parameters:
      connectionType - The environment connection type used to read this reference evidence. Absent for direct uploads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkMode

      EvidenceSummary.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

      EvidenceSummary.Builder linkMode(LinkMode 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

      EvidenceSummary.Builder purpose(String 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

      EvidenceSummary.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.