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 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 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 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<GetUpgradeStatusOutputBuilder> for GetUpgradeStatusOutputBuilder
impl PartialEq<GetUpgradeStatusOutputBuilder> 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 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