Struct aws_sdk_macie2::types::builders::PolicyDetailsBuilder
source · #[non_exhaustive]pub struct PolicyDetailsBuilder { /* private fields */ }Expand description
A builder for PolicyDetails.
Implementations§
source§impl PolicyDetailsBuilder
impl PolicyDetailsBuilder
sourcepub fn action(self, input: FindingAction) -> Self
pub fn action(self, input: FindingAction) -> Self
The action that produced the finding.
sourcepub fn set_action(self, input: Option<FindingAction>) -> Self
pub fn set_action(self, input: Option<FindingAction>) -> Self
The action that produced the finding.
sourcepub fn get_action(&self) -> &Option<FindingAction>
pub fn get_action(&self) -> &Option<FindingAction>
The action that produced the finding.
sourcepub fn actor(self, input: FindingActor) -> Self
pub fn actor(self, input: FindingActor) -> Self
The entity that performed the action that produced the finding.
sourcepub fn set_actor(self, input: Option<FindingActor>) -> Self
pub fn set_actor(self, input: Option<FindingActor>) -> Self
The entity that performed the action that produced the finding.
sourcepub fn get_actor(&self) -> &Option<FindingActor>
pub fn get_actor(&self) -> &Option<FindingActor>
The entity that performed the action that produced the finding.
sourcepub fn build(self) -> PolicyDetails
pub fn build(self) -> PolicyDetails
Consumes the builder and constructs a PolicyDetails.
Trait Implementations§
source§impl Clone for PolicyDetailsBuilder
impl Clone for PolicyDetailsBuilder
source§fn clone(&self) -> PolicyDetailsBuilder
fn clone(&self) -> PolicyDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PolicyDetailsBuilder
impl Debug for PolicyDetailsBuilder
source§impl Default for PolicyDetailsBuilder
impl Default for PolicyDetailsBuilder
source§fn default() -> PolicyDetailsBuilder
fn default() -> PolicyDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PolicyDetailsBuilder
impl PartialEq for PolicyDetailsBuilder
impl StructuralPartialEq for PolicyDetailsBuilder
Auto Trait Implementations§
impl Freeze for PolicyDetailsBuilder
impl RefUnwindSafe for PolicyDetailsBuilder
impl Send for PolicyDetailsBuilder
impl Sync for PolicyDetailsBuilder
impl Unpin for PolicyDetailsBuilder
impl UnwindSafe for PolicyDetailsBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.