Interface AssessmentSummary.Builder

  • Method Details

    • assessmentArn

      AssessmentSummary.Builder assessmentArn(String assessmentArn)

      The ARN associated with the assessment.

      Parameters:
      assessmentArn - The ARN associated with the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentId

      AssessmentSummary.Builder assessmentId(String assessmentId)

      The unique ID of the assessment.

      Parameters:
      assessmentId - The unique ID of the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkId

      AssessmentSummary.Builder frameworkId(String frameworkId)

      The identifier of the framework that was evaluated by this assessment, in the format frameworkId@version (for example, AMISecurity@1.0).

      Parameters:
      frameworkId - The identifier of the framework that was evaluated by this assessment, in the format frameworkId@version (for example, AMISecurity@1.0).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentTargetSummary

      AssessmentSummary.Builder assessmentTargetSummary(AssessmentTargetSummary assessmentTargetSummary)

      Identifies the entity or change set that was assessed.

      Parameters:
      assessmentTargetSummary - Identifies the entity or change set that was assessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentTargetSummary

      default AssessmentSummary.Builder assessmentTargetSummary(Consumer<AssessmentTargetSummary.Builder> assessmentTargetSummary)

      Identifies the entity or change set that was assessed.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assessmentTargetSummary(AssessmentTargetSummary).

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

      AssessmentSummary.Builder frameworkSummary(FrameworkSummary frameworkSummary)

      The framework-specific details of the assessed resource. The set member corresponds to the framework identified by FrameworkId.

      Parameters:
      frameworkSummary - The framework-specific details of the assessed resource. The set member corresponds to the framework identified by FrameworkId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkSummary

      default AssessmentSummary.Builder frameworkSummary(Consumer<FrameworkSummary.Builder> frameworkSummary)

      The framework-specific details of the assessed resource. The set member corresponds to the framework identified by FrameworkId.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to frameworkSummary(FrameworkSummary).

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

      AssessmentSummary.Builder assessmentResult(String assessmentResult)

      The overall result of the assessment.

      Parameters:
      assessmentResult - The overall result of the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assessmentResult

      AssessmentSummary.Builder assessmentResult(AssessmentResult assessmentResult)

      The overall result of the assessment.

      Parameters:
      assessmentResult - The overall result of the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      AssessmentSummary.Builder createdAt(String createdAt)

      The date and time the assessment was created, in ISO 8601 format (2018-02-27T13:45:22Z).

      Parameters:
      createdAt - The date and time the assessment was created, in ISO 8601 format (2018-02-27T13:45:22Z).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      AssessmentSummary.Builder expiresAt(String expiresAt)

      The date and time the assessment expires, in ISO 8601 format (2018-02-27T13:45:22Z).

      Parameters:
      expiresAt - The date and time the assessment expires, in ISO 8601 format (2018-02-27T13:45:22Z).
      Returns:
      Returns a reference to this object so that method calls can be chained together.