Struct UpgradeInfoEvent (0.5.0)

UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.

Fields

resource_type

The resource type associated with the upgrade.

operation

The operation associated with this upgrade.

start_time

The time when the operation was started.

end_time

The time when the operation ended.

current_version

The current version before the upgrade.

target_version

The target version for the upgrade.

resource

Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

state

Output only. The state of the upgrade.

standard_support_end_time

The end of standard support timestamp.

extended_support_end_time

The end of extended support timestamp.

description

A brief description of the event.

event_type

The type of the event.

Implementations

new

 fn new() -> Self

set_resource_type

 fn set_resource_type<T: std::convert::Into<crate::model::UpgradeResourceType>>(self, v: T) -> Self

Sets the value of [resource_type][crate::model::UpgradeInfoEvent::resource_type].

set_operation

 fn set_operation<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [operation][crate::model::UpgradeInfoEvent::operation].

set_start_time

 fn set_start_time<T>(self, v: T) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets the value of [start_time][crate::model::UpgradeInfoEvent::start_time].

set_or_clear_start_time

 fn set_or_clear_start_time<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets or clears the value of [start_time][crate::model::UpgradeInfoEvent::start_time].

set_end_time

 fn set_end_time<T>(self, v: T) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets the value of [end_time][crate::model::UpgradeInfoEvent::end_time].

set_or_clear_end_time

 fn set_or_clear_end_time<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets or clears the value of [end_time][crate::model::UpgradeInfoEvent::end_time].

set_current_version

 fn set_current_version<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [current_version][crate::model::UpgradeInfoEvent::current_version].

set_target_version

 fn set_target_version<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [target_version][crate::model::UpgradeInfoEvent::target_version].

set_resource

 fn set_resource<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [resource][crate::model::UpgradeInfoEvent::resource].

set_state

 fn set_state<T: std::convert::Into<crate::model::upgrade_info_event::State>>(self, v: T) -> Self

Sets the value of [state][crate::model::UpgradeInfoEvent::state].

set_standard_support_end_time

 fn set_standard_support_end_time<T>(self, v: T) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets the value of [standard_support_end_time][crate::model::UpgradeInfoEvent::standard_support_end_time].

set_or_clear_standard_support_end_time

 fn set_or_clear_standard_support_end_time<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets or clears the value of [standard_support_end_time][crate::model::UpgradeInfoEvent::standard_support_end_time].

set_extended_support_end_time

 fn set_extended_support_end_time<T>(self, v: T) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets the value of [extended_support_end_time][crate::model::UpgradeInfoEvent::extended_support_end_time].

set_or_clear_extended_support_end_time

 fn set_or_clear_extended_support_end_time<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<wkt::Timestamp>,

Sets or clears the value of [extended_support_end_time][crate::model::UpgradeInfoEvent::extended_support_end_time].

set_description

 fn set_description<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [description][crate::model::UpgradeInfoEvent::description].

set_event_type

 fn set_event_type<T: std::convert::Into<crate::model::upgrade_info_event::EventType>>(self, v: T) -> Self

Sets the value of [event_type][crate::model::UpgradeInfoEvent::event_type].