Struct aws_sdk_connectcases::types::builders::AuditEventBuilder
source · #[non_exhaustive]pub struct AuditEventBuilder { /* private fields */ }Expand description
A builder for AuditEvent.
Implementations§
source§impl AuditEventBuilder
impl AuditEventBuilder
sourcepub fn event_id(self, input: impl Into<String>) -> Self
pub fn event_id(self, input: impl Into<String>) -> Self
Unique identifier of a case audit history event.
This field is required.sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
Unique identifier of a case audit history event.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
Unique identifier of a case audit history event.
sourcepub fn type(self, input: AuditEventType) -> Self
pub fn type(self, input: AuditEventType) -> Self
The Type of an audit history event.
This field is required.sourcepub fn set_type(self, input: Option<AuditEventType>) -> Self
pub fn set_type(self, input: Option<AuditEventType>) -> Self
The Type of an audit history event.
sourcepub fn get_type(&self) -> &Option<AuditEventType>
pub fn get_type(&self) -> &Option<AuditEventType>
The Type of an audit history event.
The Type of the related item.
The Type of the related item.
The Type of the related item.
sourcepub fn performed_time(self, input: DateTime) -> Self
pub fn performed_time(self, input: DateTime) -> Self
Time at which an Audit History event took place.
This field is required.sourcepub fn set_performed_time(self, input: Option<DateTime>) -> Self
pub fn set_performed_time(self, input: Option<DateTime>) -> Self
Time at which an Audit History event took place.
sourcepub fn get_performed_time(&self) -> &Option<DateTime>
pub fn get_performed_time(&self) -> &Option<DateTime>
Time at which an Audit History event took place.
sourcepub fn fields(self, input: Option<AuditEventField>) -> Self
pub fn fields(self, input: Option<AuditEventField>) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
A list of Case Audit History event fields.
sourcepub fn set_fields(self, input: Option<Vec<Option<AuditEventField>>>) -> Self
pub fn set_fields(self, input: Option<Vec<Option<AuditEventField>>>) -> Self
A list of Case Audit History event fields.
sourcepub fn get_fields(&self) -> &Option<Vec<Option<AuditEventField>>>
pub fn get_fields(&self) -> &Option<Vec<Option<AuditEventField>>>
A list of Case Audit History event fields.
sourcepub fn performed_by(self, input: AuditEventPerformedBy) -> Self
pub fn performed_by(self, input: AuditEventPerformedBy) -> Self
Information of the user which performed the audit.
sourcepub fn set_performed_by(self, input: Option<AuditEventPerformedBy>) -> Self
pub fn set_performed_by(self, input: Option<AuditEventPerformedBy>) -> Self
Information of the user which performed the audit.
sourcepub fn get_performed_by(&self) -> &Option<AuditEventPerformedBy>
pub fn get_performed_by(&self) -> &Option<AuditEventPerformedBy>
Information of the user which performed the audit.
sourcepub fn build(self) -> Result<AuditEvent, BuildError>
pub fn build(self) -> Result<AuditEvent, BuildError>
Consumes the builder and constructs a AuditEvent.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AuditEventBuilder
impl Clone for AuditEventBuilder
source§fn clone(&self) -> AuditEventBuilder
fn clone(&self) -> AuditEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AuditEventBuilder
impl Debug for AuditEventBuilder
source§impl Default for AuditEventBuilder
impl Default for AuditEventBuilder
source§fn default() -> AuditEventBuilder
fn default() -> AuditEventBuilder
source§impl PartialEq for AuditEventBuilder
impl PartialEq for AuditEventBuilder
source§fn eq(&self, other: &AuditEventBuilder) -> bool
fn eq(&self, other: &AuditEventBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuditEventBuilder
Auto Trait Implementations§
impl Freeze for AuditEventBuilder
impl RefUnwindSafe for AuditEventBuilder
impl Send for AuditEventBuilder
impl Sync for AuditEventBuilder
impl Unpin for AuditEventBuilder
impl UnwindSafe for AuditEventBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more