Struct aws_sdk_codecatalyst::types::builders::EventLogEntryBuilder
source · #[non_exhaustive]pub struct EventLogEntryBuilder { /* private fields */ }
Expand description
A builder for EventLogEntry
.
Implementations§
source§impl EventLogEntryBuilder
impl EventLogEntryBuilder
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The system-generated unique ID of the event.
sourcepub fn event_name(self, input: impl Into<String>) -> Self
pub fn event_name(self, input: impl Into<String>) -> Self
The name of the event.
sourcepub fn set_event_name(self, input: Option<String>) -> Self
pub fn set_event_name(self, input: Option<String>) -> Self
The name of the event.
sourcepub fn event_type(self, input: impl Into<String>) -> Self
pub fn event_type(self, input: impl Into<String>) -> Self
The type of the event.
sourcepub fn set_event_type(self, input: Option<String>) -> Self
pub fn set_event_type(self, input: Option<String>) -> Self
The type of the event.
sourcepub fn event_category(self, input: impl Into<String>) -> Self
pub fn event_category(self, input: impl Into<String>) -> Self
The category for the event.
sourcepub fn set_event_category(self, input: Option<String>) -> Self
pub fn set_event_category(self, input: Option<String>) -> Self
The category for the event.
sourcepub fn event_source(self, input: impl Into<String>) -> Self
pub fn event_source(self, input: impl Into<String>) -> Self
The source of the event.
sourcepub fn set_event_source(self, input: Option<String>) -> Self
pub fn set_event_source(self, input: Option<String>) -> Self
The source of the event.
sourcepub fn event_time(self, input: DateTime) -> Self
pub fn event_time(self, input: DateTime) -> Self
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn set_event_time(self, input: Option<DateTime>) -> Self
pub fn set_event_time(self, input: Option<DateTime>) -> Self
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn operation_type(self, input: OperationType) -> Self
pub fn operation_type(self, input: OperationType) -> Self
The type of the event.
sourcepub fn set_operation_type(self, input: Option<OperationType>) -> Self
pub fn set_operation_type(self, input: Option<OperationType>) -> Self
The type of the event.
sourcepub fn user_identity(self, input: UserIdentity) -> Self
pub fn user_identity(self, input: UserIdentity) -> Self
The system-generated unique ID of the user whose actions are recorded in the event.
sourcepub fn set_user_identity(self, input: Option<UserIdentity>) -> Self
pub fn set_user_identity(self, input: Option<UserIdentity>) -> Self
The system-generated unique ID of the user whose actions are recorded in the event.
sourcepub fn project_information(self, input: ProjectInformation) -> Self
pub fn project_information(self, input: ProjectInformation) -> Self
Information about the project where the event occurred.
sourcepub fn set_project_information(self, input: Option<ProjectInformation>) -> Self
pub fn set_project_information(self, input: Option<ProjectInformation>) -> Self
Information about the project where the event occurred.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the request.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The system-generated unique ID of the request.
sourcepub fn request_payload(self, input: EventPayload) -> Self
pub fn request_payload(self, input: EventPayload) -> Self
Information about the payload of the request.
sourcepub fn set_request_payload(self, input: Option<EventPayload>) -> Self
pub fn set_request_payload(self, input: Option<EventPayload>) -> Self
Information about the payload of the request.
sourcepub fn response_payload(self, input: EventPayload) -> Self
pub fn response_payload(self, input: EventPayload) -> Self
Information about the payload of the response, if any.
sourcepub fn set_response_payload(self, input: Option<EventPayload>) -> Self
pub fn set_response_payload(self, input: Option<EventPayload>) -> Self
Information about the payload of the response, if any.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The code of the error, if any.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The code of the error, if any.
sourcepub fn source_ip_address(self, input: impl Into<String>) -> Self
pub fn source_ip_address(self, input: impl Into<String>) -> Self
The IP address of the user whose actions are recorded in the event.
sourcepub fn set_source_ip_address(self, input: Option<String>) -> Self
pub fn set_source_ip_address(self, input: Option<String>) -> Self
The IP address of the user whose actions are recorded in the event.
sourcepub fn user_agent(self, input: impl Into<String>) -> Self
pub fn user_agent(self, input: impl Into<String>) -> Self
sourcepub fn set_user_agent(self, input: Option<String>) -> Self
pub fn set_user_agent(self, input: Option<String>) -> Self
sourcepub fn build(self) -> EventLogEntry
pub fn build(self) -> EventLogEntry
Consumes the builder and constructs a EventLogEntry
.
Trait Implementations§
source§impl Clone for EventLogEntryBuilder
impl Clone for EventLogEntryBuilder
source§fn clone(&self) -> EventLogEntryBuilder
fn clone(&self) -> EventLogEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventLogEntryBuilder
impl Debug for EventLogEntryBuilder
source§impl Default for EventLogEntryBuilder
impl Default for EventLogEntryBuilder
source§fn default() -> EventLogEntryBuilder
fn default() -> EventLogEntryBuilder
source§impl PartialEq<EventLogEntryBuilder> for EventLogEntryBuilder
impl PartialEq<EventLogEntryBuilder> for EventLogEntryBuilder
source§fn eq(&self, other: &EventLogEntryBuilder) -> bool
fn eq(&self, other: &EventLogEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.