Interface GetAssessmentReportExportResponse.Builder

  • Method Details

    • exportId

      The identifier of the export.

      Parameters:
      exportId - The identifier of the export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the export. The status is one of the following values:

      • QUEUED – The export is waiting to start.

      • IN_PROGRESS – AWS Assurance is preparing the report.

      • COMPLETED – The report is ready. Call GetAssessmentReportContent to get it.

      • FAILED – AWS Assurance couldn't prepare the report. failureReason and failureMessage describe the failure.

      Parameters:
      status - The status of the export. The status is one of the following values:

      • QUEUED – The export is waiting to start.

      • IN_PROGRESS – AWS Assurance is preparing the report.

      • COMPLETED – The report is ready. Call GetAssessmentReportContent to get it.

      • FAILED – AWS Assurance couldn't prepare the report. failureReason and failureMessage describe the failure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the export. The status is one of the following values:

      • QUEUED – The export is waiting to start.

      • IN_PROGRESS – AWS Assurance is preparing the report.

      • COMPLETED – The report is ready. Call GetAssessmentReportContent to get it.

      • FAILED – AWS Assurance couldn't prepare the report. failureReason and failureMessage describe the failure.

      Parameters:
      status - The status of the export. The status is one of the following values:

      • QUEUED – The export is waiting to start.

      • IN_PROGRESS – AWS Assurance is preparing the report.

      • COMPLETED – The report is ready. Call GetAssessmentReportContent to get it.

      • FAILED – AWS Assurance couldn't prepare the report. failureReason and failureMessage describe the failure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • framework

      The name of the framework the report covers.

      Parameters:
      framework - The name of the framework the report covers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      GetAssessmentReportExportResponse.Builder frameworkVersion(String frameworkVersion)

      The version of the framework.

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

      The time when the export started.

      Parameters:
      createdAt - The time when the export started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The time when the export status last changed.

      Parameters:
      updatedAt - The time when the export status last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlIds

      The control that the report covers. This field is absent when the report covers the whole framework.

      Parameters:
      controlIds - The control that the report covers. This field is absent when the report covers the whole framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlIds

      The control that the report covers. This field is absent when the report covers the whole framework.

      Parameters:
      controlIds - The control that the report covers. This field is absent when the report covers the whole framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      GetAssessmentReportExportResponse.Builder failureReason(String failureReason)

      The reason that the export failed. This field is present only when status is FAILED . The reason is one of the following values:

      • ENCRYPTED_CONTENT_UNREADABLE – AWS Assurance couldn't decrypt content that the report needs. Restore access to the environment's AWS KMS key, and then start a new export.

      • SYSTEM_ERROR – AWS Assurance couldn't prepare the report. Start a new export to try again.

      Parameters:
      failureReason - The reason that the export failed. This field is present only when status is FAILED. The reason is one of the following values:

      • ENCRYPTED_CONTENT_UNREADABLE – AWS Assurance couldn't decrypt content that the report needs. Restore access to the environment's AWS KMS key, and then start a new export.

      • SYSTEM_ERROR – AWS Assurance couldn't prepare the report. Start a new export to try again.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      The reason that the export failed. This field is present only when status is FAILED . The reason is one of the following values:

      • ENCRYPTED_CONTENT_UNREADABLE – AWS Assurance couldn't decrypt content that the report needs. Restore access to the environment's AWS KMS key, and then start a new export.

      • SYSTEM_ERROR – AWS Assurance couldn't prepare the report. Start a new export to try again.

      Parameters:
      failureReason - The reason that the export failed. This field is present only when status is FAILED. The reason is one of the following values:

      • ENCRYPTED_CONTENT_UNREADABLE – AWS Assurance couldn't decrypt content that the report needs. Restore access to the environment's AWS KMS key, and then start a new export.

      • SYSTEM_ERROR – AWS Assurance couldn't prepare the report. Start a new export to try again.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureMessage

      GetAssessmentReportExportResponse.Builder failureMessage(String failureMessage)

      A description of the failure. This field is present only when status is FAILED.

      Parameters:
      failureMessage - A description of the failure. This field is present only when status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.