Struct aws_sdk_elasticsearch::model::upgrade_history::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for UpgradeHistory.
Implementations§
source§impl Builder
impl Builder
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 start_timestamp(self, input: DateTime) -> Self
pub fn start_timestamp(self, input: DateTime) -> Self
UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.
sourcepub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.
sourcepub fn upgrade_status(self, input: UpgradeStatus) -> Self
pub fn upgrade_status(self, input: UpgradeStatus) -> Self
The overall status of the update. The status can take one of the following values:
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
sourcepub fn set_upgrade_status(self, input: Option<UpgradeStatus>) -> Self
pub fn set_upgrade_status(self, input: Option<UpgradeStatus>) -> Self
The overall status of the update. The status can take one of the following values:
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
sourcepub fn steps_list(self, input: UpgradeStepItem) -> Self
pub fn steps_list(self, input: UpgradeStepItem) -> Self
Appends an item to steps_list.
To override the contents of this collection use set_steps_list.
A list of s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check. UpgradeStepItem
sourcepub fn set_steps_list(self, input: Option<Vec<UpgradeStepItem>>) -> Self
pub fn set_steps_list(self, input: Option<Vec<UpgradeStepItem>>) -> Self
A list of s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check. UpgradeStepItem
sourcepub fn build(self) -> UpgradeHistory
pub fn build(self) -> UpgradeHistory
Consumes the builder and constructs a UpgradeHistory.