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
impl StructuralPartialEq for FindingActionBuilder
Auto Trait Implementations§
impl Freeze for FindingActionBuilder
impl RefUnwindSafe for FindingActionBuilder
impl Send for FindingActionBuilder
impl Sync for FindingActionBuilder
impl Unpin for FindingActionBuilder
impl UnwindSafe for FindingActionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more