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