Struct aws_sdk_macie2::types::builders::FindingActionBuilder
source · #[non_exhaustive]pub struct FindingActionBuilder { /* private fields */ }
Expand description
A builder for FindingAction
.
Implementations§
source§impl FindingActionBuilder
impl FindingActionBuilder
sourcepub fn action_type(self, input: FindingActionType) -> Self
pub fn action_type(self, input: FindingActionType) -> Self
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
sourcepub fn set_action_type(self, input: Option<FindingActionType>) -> Self
pub fn set_action_type(self, input: Option<FindingActionType>) -> Self
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
sourcepub fn get_action_type(&self) -> &Option<FindingActionType>
pub fn get_action_type(&self) -> &Option<FindingActionType>
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
sourcepub fn api_call_details(self, input: ApiCallDetails) -> Self
pub fn api_call_details(self, input: ApiCallDetails) -> Self
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
sourcepub fn set_api_call_details(self, input: Option<ApiCallDetails>) -> Self
pub fn set_api_call_details(self, input: Option<ApiCallDetails>) -> Self
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
sourcepub fn get_api_call_details(&self) -> &Option<ApiCallDetails>
pub fn get_api_call_details(&self) -> &Option<ApiCallDetails>
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
sourcepub fn build(self) -> FindingAction
pub fn build(self) -> FindingAction
Consumes the builder and constructs a FindingAction
.
Trait Implementations§
source§impl Clone for FindingActionBuilder
impl Clone for FindingActionBuilder
source§fn clone(&self) -> FindingActionBuilder
fn clone(&self) -> FindingActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingActionBuilder
impl Debug for FindingActionBuilder
source§impl Default for FindingActionBuilder
impl Default for FindingActionBuilder
source§fn default() -> FindingActionBuilder
fn default() -> FindingActionBuilder
source§impl PartialEq for FindingActionBuilder
impl PartialEq for FindingActionBuilder
source§fn eq(&self, other: &FindingActionBuilder) -> bool
fn eq(&self, other: &FindingActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.