#[non_exhaustive]pub struct StartJobUpgradeAnalysisInputBuilder { /* private fields */ }Expand description
A builder for StartJobUpgradeAnalysisInput.
Implementations§
Source§impl StartJobUpgradeAnalysisInputBuilder
impl StartJobUpgradeAnalysisInputBuilder
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 the analysis to resume.
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 the analysis to resume.
Sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the job associated with the analysis to resume.
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. The analysis must be in WAITING_FOR_CONSENT status.
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. The analysis must be in WAITING_FOR_CONSENT status.
Sourcepub fn get_analysis_id(&self) -> &Option<String>
pub fn get_analysis_id(&self) -> &Option<String>
The unique identifier of the upgrade analysis. The analysis must be in WAITING_FOR_CONSENT status.
Sourcepub fn upgrade_consent(self, input: UpgradeConsent) -> Self
pub fn upgrade_consent(self, input: UpgradeConsent) -> Self
The customer's decision on whether to proceed with the upgrade.
Sourcepub fn set_upgrade_consent(self, input: Option<UpgradeConsent>) -> Self
pub fn set_upgrade_consent(self, input: Option<UpgradeConsent>) -> Self
The customer's decision on whether to proceed with the upgrade.
Sourcepub fn get_upgrade_consent(&self) -> &Option<UpgradeConsent>
pub fn get_upgrade_consent(&self) -> &Option<UpgradeConsent>
The customer's decision on whether to proceed with the upgrade.
Sourcepub fn build(self) -> Result<StartJobUpgradeAnalysisInput, BuildError>
pub fn build(self) -> Result<StartJobUpgradeAnalysisInput, BuildError>
Consumes the builder and constructs a StartJobUpgradeAnalysisInput.
Source§impl StartJobUpgradeAnalysisInputBuilder
impl StartJobUpgradeAnalysisInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartJobUpgradeAnalysisOutput, SdkError<StartJobUpgradeAnalysisError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartJobUpgradeAnalysisOutput, SdkError<StartJobUpgradeAnalysisError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for StartJobUpgradeAnalysisInputBuilder
impl Clone for StartJobUpgradeAnalysisInputBuilder
Source§fn clone(&self) -> StartJobUpgradeAnalysisInputBuilder
fn clone(&self) -> StartJobUpgradeAnalysisInputBuilder
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 StartJobUpgradeAnalysisInputBuilder
impl Default for StartJobUpgradeAnalysisInputBuilder
Source§fn default() -> StartJobUpgradeAnalysisInputBuilder
fn default() -> StartJobUpgradeAnalysisInputBuilder
impl StructuralPartialEq for StartJobUpgradeAnalysisInputBuilder
Auto Trait Implementations§
impl Freeze for StartJobUpgradeAnalysisInputBuilder
impl RefUnwindSafe for StartJobUpgradeAnalysisInputBuilder
impl Send for StartJobUpgradeAnalysisInputBuilder
impl Sync for StartJobUpgradeAnalysisInputBuilder
impl Unpin for StartJobUpgradeAnalysisInputBuilder
impl UnsafeUnpin for StartJobUpgradeAnalysisInputBuilder
impl UnwindSafe for StartJobUpgradeAnalysisInputBuilder
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