Struct aws_sdk_elasticsearch::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
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
sourcepub fn set_upgrade_step(self, input: Option<UpgradeStep>) -> Self
pub fn set_upgrade_step(self, input: Option<UpgradeStep>) -> Self
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
sourcepub fn get_upgrade_step(&self) -> &Option<UpgradeStep>
pub fn get_upgrade_step(&self) -> &Option<UpgradeStep>
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
sourcepub fn step_status(self, input: UpgradeStatus) -> Self
pub fn step_status(self, input: UpgradeStatus) -> Self
One of 4 statuses that a step can go through returned as part of the
object. The status can take one of the following values:GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
sourcepub fn set_step_status(self, input: Option<UpgradeStatus>) -> Self
pub fn set_step_status(self, input: Option<UpgradeStatus>) -> Self
One of 4 statuses that a step can go through returned as part of the
object. The status can take one of the following values:GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
sourcepub fn get_step_status(&self) -> &Option<UpgradeStatus>
pub fn get_step_status(&self) -> &Option<UpgradeStatus>
One of 4 statuses that a step can go through returned as part of the
object. The status can take one of the following values:GetUpgradeStatusResponse
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
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 briefly
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 briefly
sourcepub fn get_upgrade_name(&self) -> &Option<String>
pub fn get_upgrade_name(&self) -> &Option<String>
A string that describes the update briefly
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetUpgradeStatusOutputBuilder
impl Default for GetUpgradeStatusOutputBuilder
source§fn default() -> GetUpgradeStatusOutputBuilder
fn default() -> GetUpgradeStatusOutputBuilder
source§impl PartialEq for GetUpgradeStatusOutputBuilder
impl PartialEq for GetUpgradeStatusOutputBuilder
source§fn eq(&self, other: &GetUpgradeStatusOutputBuilder) -> bool
fn eq(&self, other: &GetUpgradeStatusOutputBuilder) -> bool
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
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