Struct aws_sdk_macie2::types::builders::ApiCallDetailsBuilder
source · #[non_exhaustive]pub struct ApiCallDetailsBuilder { /* private fields */ }Expand description
A builder for ApiCallDetails.
Implementations§
source§impl ApiCallDetailsBuilder
impl ApiCallDetailsBuilder
sourcepub fn api(self, input: impl Into<String>) -> Self
pub fn api(self, input: impl Into<String>) -> Self
The name of the operation that was invoked most recently and produced the finding.
sourcepub fn set_api(self, input: Option<String>) -> Self
pub fn set_api(self, input: Option<String>) -> Self
The name of the operation that was invoked most recently and produced the finding.
sourcepub fn get_api(&self) -> &Option<String>
pub fn get_api(&self) -> &Option<String>
The name of the operation that was invoked most recently and produced the finding.
sourcepub fn api_service_name(self, input: impl Into<String>) -> Self
pub fn api_service_name(self, input: impl Into<String>) -> Self
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
sourcepub fn set_api_service_name(self, input: Option<String>) -> Self
pub fn set_api_service_name(self, input: Option<String>) -> Self
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
sourcepub fn get_api_service_name(&self) -> &Option<String>
pub fn get_api_service_name(&self) -> &Option<String>
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
sourcepub fn first_seen(self, input: DateTime) -> Self
pub fn first_seen(self, input: DateTime) -> Self
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
sourcepub fn set_first_seen(self, input: Option<DateTime>) -> Self
pub fn set_first_seen(self, input: Option<DateTime>) -> Self
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
sourcepub fn get_first_seen(&self) -> &Option<DateTime>
pub fn get_first_seen(&self) -> &Option<DateTime>
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
sourcepub fn last_seen(self, input: DateTime) -> Self
pub fn last_seen(self, input: DateTime) -> Self
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
sourcepub fn set_last_seen(self, input: Option<DateTime>) -> Self
pub fn set_last_seen(self, input: Option<DateTime>) -> Self
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
sourcepub fn get_last_seen(&self) -> &Option<DateTime>
pub fn get_last_seen(&self) -> &Option<DateTime>
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
sourcepub fn build(self) -> ApiCallDetails
pub fn build(self) -> ApiCallDetails
Consumes the builder and constructs a ApiCallDetails.
Trait Implementations§
source§impl Clone for ApiCallDetailsBuilder
impl Clone for ApiCallDetailsBuilder
source§fn clone(&self) -> ApiCallDetailsBuilder
fn clone(&self) -> ApiCallDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApiCallDetailsBuilder
impl Debug for ApiCallDetailsBuilder
source§impl Default for ApiCallDetailsBuilder
impl Default for ApiCallDetailsBuilder
source§fn default() -> ApiCallDetailsBuilder
fn default() -> ApiCallDetailsBuilder
source§impl PartialEq for ApiCallDetailsBuilder
impl PartialEq for ApiCallDetailsBuilder
impl StructuralPartialEq for ApiCallDetailsBuilder
Auto Trait Implementations§
impl Freeze for ApiCallDetailsBuilder
impl RefUnwindSafe for ApiCallDetailsBuilder
impl Send for ApiCallDetailsBuilder
impl Sync for ApiCallDetailsBuilder
impl Unpin for ApiCallDetailsBuilder
impl UnwindSafe for ApiCallDetailsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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