Struct aws_sdk_ec2::model::history_record_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HistoryRecordEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn event_information(self, input: EventInformation) -> Self
pub fn event_information(self, input: EventInformation) -> Self
Information about the event.
sourcepub fn set_event_information(self, input: Option<EventInformation>) -> Self
pub fn set_event_information(self, input: Option<EventInformation>) -> Self
Information about the event.
sourcepub fn event_type(self, input: FleetEventType) -> Self
pub fn event_type(self, input: FleetEventType) -> Self
The event type.
sourcepub fn set_event_type(self, input: Option<FleetEventType>) -> Self
pub fn set_event_type(self, input: Option<FleetEventType>) -> Self
The event type.
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
sourcepub fn build(self) -> HistoryRecordEntry
pub fn build(self) -> HistoryRecordEntry
Consumes the builder and constructs a HistoryRecordEntry
.