#[non_exhaustive]pub struct GetJobUpgradeAnalysisOutputBuilder { /* private fields */ }Expand description
A builder for GetJobUpgradeAnalysisOutput.
Implementations§
Source§impl GetJobUpgradeAnalysisOutputBuilder
impl GetJobUpgradeAnalysisOutputBuilder
Sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job associated with this analysis.
This field is required.Sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job associated with this analysis.
Sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the job associated with this analysis.
Sourcepub fn analysis_id(self, input: impl Into<String>) -> Self
pub fn analysis_id(self, input: impl Into<String>) -> Self
The unique identifier of the upgrade analysis.
This field is required.Sourcepub fn set_analysis_id(self, input: Option<String>) -> Self
pub fn set_analysis_id(self, input: Option<String>) -> Self
The unique identifier of the upgrade analysis.
Sourcepub fn get_analysis_id(&self) -> &Option<String>
pub fn get_analysis_id(&self) -> &Option<String>
The unique identifier of the upgrade analysis.
Sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
The current status of the analysis.
This field is required.Sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The current status of the analysis.
Sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The current status of the analysis.
Sourcepub fn source_version(self, input: impl Into<String>) -> Self
pub fn source_version(self, input: impl Into<String>) -> Self
The Glue version the job was running before the upgrade, for example 4.0.
Sourcepub fn set_source_version(self, input: Option<String>) -> Self
pub fn set_source_version(self, input: Option<String>) -> Self
The Glue version the job was running before the upgrade, for example 4.0.
Sourcepub fn get_source_version(&self) -> &Option<String>
pub fn get_source_version(&self) -> &Option<String>
The Glue version the job was running before the upgrade, for example 4.0.
Sourcepub fn target_version(self, input: impl Into<String>) -> Self
pub fn target_version(self, input: impl Into<String>) -> Self
The Glue version the job will be upgraded to, for example 6.0.
Sourcepub fn set_target_version(self, input: Option<String>) -> Self
pub fn set_target_version(self, input: Option<String>) -> Self
The Glue version the job will be upgraded to, for example 6.0.
Sourcepub fn get_target_version(&self) -> &Option<String>
pub fn get_target_version(&self) -> &Option<String>
The Glue version the job will be upgraded to, for example 6.0.
Sourcepub fn analysis_type(self, input: AnalysisType) -> Self
pub fn analysis_type(self, input: AnalysisType) -> Self
The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
Sourcepub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
pub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
Sourcepub fn get_analysis_type(&self) -> &Option<AnalysisType>
pub fn get_analysis_type(&self) -> &Option<AnalysisType>
The type of upgrade analysis. For auto-upgrade jobs, this value is AUTO_UPGRADE.
Sourcepub fn auto_upgrade_evaluation_summary(self, input: impl Into<String>) -> Self
pub fn auto_upgrade_evaluation_summary(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_auto_upgrade_evaluation_summary(self, input: Option<String>) -> Self
pub fn set_auto_upgrade_evaluation_summary(self, input: Option<String>) -> Self
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.
Sourcepub fn get_auto_upgrade_evaluation_summary(&self) -> &Option<String>
pub fn get_auto_upgrade_evaluation_summary(&self) -> &Option<String>
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.
Sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The reason the analysis did not complete.
Sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The reason the analysis did not complete.
Sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The reason the analysis did not complete.
Sourcepub fn auto_upgrade_eligibility_summary(self, input: impl Into<String>) -> Self
pub fn auto_upgrade_eligibility_summary(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_auto_upgrade_eligibility_summary(self, input: Option<String>) -> Self
pub fn set_auto_upgrade_eligibility_summary(self, input: Option<String>) -> Self
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.
Sourcepub fn get_auto_upgrade_eligibility_summary(&self) -> &Option<String>
pub fn get_auto_upgrade_eligibility_summary(&self) -> &Option<String>
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.
Sourcepub fn build(self) -> Result<GetJobUpgradeAnalysisOutput, BuildError>
pub fn build(self) -> Result<GetJobUpgradeAnalysisOutput, BuildError>
Consumes the builder and constructs a GetJobUpgradeAnalysisOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for GetJobUpgradeAnalysisOutputBuilder
impl Clone for GetJobUpgradeAnalysisOutputBuilder
Source§fn clone(&self) -> GetJobUpgradeAnalysisOutputBuilder
fn clone(&self) -> GetJobUpgradeAnalysisOutputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GetJobUpgradeAnalysisOutputBuilder
impl Default for GetJobUpgradeAnalysisOutputBuilder
Source§fn default() -> GetJobUpgradeAnalysisOutputBuilder
fn default() -> GetJobUpgradeAnalysisOutputBuilder
impl StructuralPartialEq for GetJobUpgradeAnalysisOutputBuilder
Auto Trait Implementations§
impl Freeze for GetJobUpgradeAnalysisOutputBuilder
impl RefUnwindSafe for GetJobUpgradeAnalysisOutputBuilder
impl Send for GetJobUpgradeAnalysisOutputBuilder
impl Sync for GetJobUpgradeAnalysisOutputBuilder
impl Unpin for GetJobUpgradeAnalysisOutputBuilder
impl UnsafeUnpin for GetJobUpgradeAnalysisOutputBuilder
impl UnwindSafe for GetJobUpgradeAnalysisOutputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more