Struct aws_sdk_macie2::model::finding_action::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for FindingAction
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more