Interface GetJobUpgradeAnalysisResponse.Builder

  • Method Details

    • jobName

      The name of the job associated with this analysis.

      Parameters:
      jobName - The name of the job associated with this analysis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analysisId

      The unique identifier of the upgrade analysis.

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

      The current status of the analysis.

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

      The current status of the analysis.

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

      GetJobUpgradeAnalysisResponse.Builder sourceVersion(String sourceVersion)

      The Glue version the job was running before the upgrade, for example 4.0.

      Parameters:
      sourceVersion - The Glue version the job was running before the upgrade, for example 4.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetVersion

      GetJobUpgradeAnalysisResponse.Builder targetVersion(String targetVersion)

      The Glue version the job will be upgraded to, for example 6.0.

      Parameters:
      targetVersion - The Glue version the job will be upgraded to, for example 6.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analysisType

      GetJobUpgradeAnalysisResponse.Builder analysisType(String analysisType)

      The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.

      Parameters:
      analysisType - The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • analysisType

      The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.

      Parameters:
      analysisType - The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoUpgradeEvaluationSummary

      GetJobUpgradeAnalysisResponse.Builder autoUpgradeEvaluationSummary(String autoUpgradeEvaluationSummary)

      A presigned URL for downloading the auto upgrade evaluation summary for the analysis. Available once the analysis reaches a terminal status (SUCCEEDED or FAILED). The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.

      Parameters:
      autoUpgradeEvaluationSummary - A presigned URL for downloading the auto upgrade evaluation summary for the analysis. Available once the analysis reaches a terminal status (SUCCEEDED or FAILED). The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      GetJobUpgradeAnalysisResponse.Builder errorMessage(String errorMessage)

      The reason the analysis did not complete.

      Parameters:
      errorMessage - The reason the analysis did not complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoUpgradeEligibilitySummary

      GetJobUpgradeAnalysisResponse.Builder autoUpgradeEligibilitySummary(String autoUpgradeEligibilitySummary)

      A presigned URL for downloading the auto upgrade eligibility summary, which lists the compatibility results for the job. Available once the analysis reaches WAITING_FOR_CONSENT and in all subsequent states. The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.

      Parameters:
      autoUpgradeEligibilitySummary - A presigned URL for downloading the auto upgrade eligibility summary, which lists the compatibility results for the job. Available once the analysis reaches WAITING_FOR_CONSENT and in all subsequent states. The URL expires after 1 hour. Calling GetJobUpgradeAnalysis again returns a new URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.