Interface AnalysisLogExport.Builder

  • Method Details

    • analysisLogExportId

      AnalysisLogExport.Builder analysisLogExportId(String analysisLogExportId)

      The unique identifier of the analysis log export.

      Parameters:
      analysisLogExportId - The unique identifier of the analysis log export.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analysisId

      AnalysisLogExport.Builder analysisId(String analysisId)

      The unique identifier of the protected query that the analysis logs were exported for.

      Parameters:
      analysisId - The unique identifier of the protected query that the analysis logs were exported for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analysisType

      AnalysisLogExport.Builder analysisType(String analysisType)

      The type of analysis that the logs were exported for. Currently, only PROTECTED_QUERY is supported.

      Parameters:
      analysisType - The type of analysis that the logs were exported for. Currently, only PROTECTED_QUERY is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • analysisType

      The type of analysis that the logs were exported for. Currently, only PROTECTED_QUERY is supported.

      Parameters:
      analysisType - The type of analysis that the logs were exported for. Currently, only PROTECTED_QUERY is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • membershipId

      AnalysisLogExport.Builder membershipId(String membershipId)

      The unique identifier of the membership that the analysis log export belongs to.

      Parameters:
      membershipId - The unique identifier of the membership that the analysis log export belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the analysis log export. Possible values are:

      • IN_PROGRESS – The export is currently running.

      • SUCCESS – The export completed successfully.

      • FAILED – The export failed. See the error field for details.

      Parameters:
      status - The status of the analysis log export. Possible values are:

      • IN_PROGRESS – The export is currently running.

      • SUCCESS – The export completed successfully.

      • FAILED – The export failed. See the error field for details.

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

      The status of the analysis log export. Possible values are:

      • IN_PROGRESS – The export is currently running.

      • SUCCESS – The export completed successfully.

      • FAILED – The export failed. See the error field for details.

      Parameters:
      status - The status of the analysis log export. Possible values are:

      • IN_PROGRESS – The export is currently running.

      • SUCCESS – The export completed successfully.

      • FAILED – The export failed. See the error field for details.

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

      AnalysisLogExport.Builder resultConfiguration(AnalysisLogExportResultConfiguration resultConfiguration)

      Contains the details needed to write the exported analysis logs.

      Parameters:
      resultConfiguration - Contains the details needed to write the exported analysis logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultConfiguration

      default AnalysisLogExport.Builder resultConfiguration(Consumer<AnalysisLogExportResultConfiguration.Builder> resultConfiguration)

      Contains the details needed to write the exported analysis logs.

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

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

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

      AnalysisLogExport.Builder createTime(Instant createTime)

      The time the analysis log export was created.

      Parameters:
      createTime - The time the analysis log export was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateTime

      AnalysisLogExport.Builder updateTime(Instant updateTime)

      The time the analysis log export was last updated.

      Parameters:
      updateTime - The time the analysis log export was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The analysis log export error. This is present only when the export status is FAILED.

      Parameters:
      error - The analysis log export error. This is present only when the export status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The analysis log export error. This is present only when the export status is FAILED.

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

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

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