Struct aws_sdk_macie2::model::finding_action::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FindingAction
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> FindingAction
pub fn build(self) -> FindingAction
Consumes the builder and constructs a FindingAction
.