Struct aws_sdk_opensearch::operation::get_upgrade_status::builders::GetUpgradeStatusOutputBuilder
source · #[non_exhaustive]pub struct GetUpgradeStatusOutputBuilder { /* private fields */ }Expand description
A builder for GetUpgradeStatusOutput.
Implementations§
source§impl GetUpgradeStatusOutputBuilder
impl GetUpgradeStatusOutputBuilder
sourcepub fn upgrade_step(self, input: UpgradeStep) -> Self
pub fn upgrade_step(self, input: UpgradeStep) -> Self
One of three steps that an upgrade or upgrade eligibility check goes through.
sourcepub fn set_upgrade_step(self, input: Option<UpgradeStep>) -> Self
pub fn set_upgrade_step(self, input: Option<UpgradeStep>) -> Self
One of three steps that an upgrade or upgrade eligibility check goes through.
sourcepub fn get_upgrade_step(&self) -> &Option<UpgradeStep>
pub fn get_upgrade_step(&self) -> &Option<UpgradeStep>
One of three steps that an upgrade or upgrade eligibility check goes through.
sourcepub fn step_status(self, input: UpgradeStatus) -> Self
pub fn step_status(self, input: UpgradeStatus) -> Self
The status of the current step that an upgrade is on.
sourcepub fn set_step_status(self, input: Option<UpgradeStatus>) -> Self
pub fn set_step_status(self, input: Option<UpgradeStatus>) -> Self
The status of the current step that an upgrade is on.
sourcepub fn get_step_status(&self) -> &Option<UpgradeStatus>
pub fn get_step_status(&self) -> &Option<UpgradeStatus>
The status of the current step that an upgrade is on.
sourcepub fn upgrade_name(self, input: impl Into<String>) -> Self
pub fn upgrade_name(self, input: impl Into<String>) -> Self
A string that describes the update.
sourcepub fn set_upgrade_name(self, input: Option<String>) -> Self
pub fn set_upgrade_name(self, input: Option<String>) -> Self
A string that describes the update.
sourcepub fn get_upgrade_name(&self) -> &Option<String>
pub fn get_upgrade_name(&self) -> &Option<String>
A string that describes the update.
sourcepub fn build(self) -> GetUpgradeStatusOutput
pub fn build(self) -> GetUpgradeStatusOutput
Consumes the builder and constructs a GetUpgradeStatusOutput.
Trait Implementations§
source§impl Clone for GetUpgradeStatusOutputBuilder
impl Clone for GetUpgradeStatusOutputBuilder
source§fn clone(&self) -> GetUpgradeStatusOutputBuilder
fn clone(&self) -> GetUpgradeStatusOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetUpgradeStatusOutputBuilder
impl Default for GetUpgradeStatusOutputBuilder
source§fn default() -> GetUpgradeStatusOutputBuilder
fn default() -> GetUpgradeStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetUpgradeStatusOutputBuilder
impl PartialEq for GetUpgradeStatusOutputBuilder
source§fn eq(&self, other: &GetUpgradeStatusOutputBuilder) -> bool
fn eq(&self, other: &GetUpgradeStatusOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetUpgradeStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetUpgradeStatusOutputBuilder
impl RefUnwindSafe for GetUpgradeStatusOutputBuilder
impl Send for GetUpgradeStatusOutputBuilder
impl Sync for GetUpgradeStatusOutputBuilder
impl Unpin for GetUpgradeStatusOutputBuilder
impl UnwindSafe for GetUpgradeStatusOutputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.