Struct aws_sdk_codecatalyst::model::event_log_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EventLogEntry
.
Implementations§
source§impl Builder
impl Builder
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
.