Struct aws_sdk_opensearch::types::UpgradeStepItem
source · #[non_exhaustive]pub struct UpgradeStepItem {
pub upgrade_step: Option<UpgradeStep>,
pub upgrade_step_status: Option<UpgradeStatus>,
pub issues: Option<Vec<String>>,
pub progress_percent: Option<f64>,
}
Expand description
Represents a single step of an upgrade or upgrade eligibility check workflow.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.upgrade_step: Option<UpgradeStep>
One of three steps that an upgrade or upgrade eligibility check goes through:
-
PreUpgradeCheck
-
Snapshot
-
Upgrade
upgrade_step_status: Option<UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
issues: Option<Vec<String>>
A list of strings containing detailed information about the errors encountered in a particular step.
progress_percent: Option<f64>
The floating point value representing the progress percentage of a particular step.
Implementations§
source§impl UpgradeStepItem
impl UpgradeStepItem
sourcepub fn upgrade_step(&self) -> Option<&UpgradeStep>
pub fn upgrade_step(&self) -> Option<&UpgradeStep>
One of three steps that an upgrade or upgrade eligibility check goes through:
-
PreUpgradeCheck
-
Snapshot
-
Upgrade
sourcepub fn upgrade_step_status(&self) -> Option<&UpgradeStatus>
pub fn upgrade_step_status(&self) -> Option<&UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
sourcepub fn issues(&self) -> &[String]
pub fn issues(&self) -> &[String]
A list of strings containing detailed information about the errors encountered in a particular step.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .issues.is_none()
.
sourcepub fn progress_percent(&self) -> Option<f64>
pub fn progress_percent(&self) -> Option<f64>
The floating point value representing the progress percentage of a particular step.
source§impl UpgradeStepItem
impl UpgradeStepItem
sourcepub fn builder() -> UpgradeStepItemBuilder
pub fn builder() -> UpgradeStepItemBuilder
Creates a new builder-style object to manufacture UpgradeStepItem
.
Trait Implementations§
source§impl Clone for UpgradeStepItem
impl Clone for UpgradeStepItem
source§fn clone(&self) -> UpgradeStepItem
fn clone(&self) -> UpgradeStepItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeStepItem
impl Debug for UpgradeStepItem
source§impl PartialEq for UpgradeStepItem
impl PartialEq for UpgradeStepItem
source§fn eq(&self, other: &UpgradeStepItem) -> bool
fn eq(&self, other: &UpgradeStepItem) -> bool
self
and other
values to be equal, and is used
by ==
.