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 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 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 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 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<ApiCallDetailsBuilder> for ApiCallDetailsBuilder
impl PartialEq<ApiCallDetailsBuilder> for ApiCallDetailsBuilder
source§fn eq(&self, other: &ApiCallDetailsBuilder) -> bool
fn eq(&self, other: &ApiCallDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.