Struct aws_sdk_macie2::types::builders::AwsServiceBuilder
source · #[non_exhaustive]pub struct AwsServiceBuilder { /* private fields */ }Expand description
A builder for AwsService.
Implementations§
source§impl AwsServiceBuilder
impl AwsServiceBuilder
sourcepub fn invoked_by(self, input: impl Into<String>) -> Self
pub fn invoked_by(self, input: impl Into<String>) -> Self
The name of the Amazon Web Service that performed the action.
sourcepub fn set_invoked_by(self, input: Option<String>) -> Self
pub fn set_invoked_by(self, input: Option<String>) -> Self
The name of the Amazon Web Service that performed the action.
sourcepub fn get_invoked_by(&self) -> &Option<String>
pub fn get_invoked_by(&self) -> &Option<String>
The name of the Amazon Web Service that performed the action.
sourcepub fn build(self) -> AwsService
pub fn build(self) -> AwsService
Consumes the builder and constructs a AwsService.
Trait Implementations§
source§impl Clone for AwsServiceBuilder
impl Clone for AwsServiceBuilder
source§fn clone(&self) -> AwsServiceBuilder
fn clone(&self) -> AwsServiceBuilder
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 AwsServiceBuilder
impl Debug for AwsServiceBuilder
source§impl Default for AwsServiceBuilder
impl Default for AwsServiceBuilder
source§fn default() -> AwsServiceBuilder
fn default() -> AwsServiceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsServiceBuilder
impl PartialEq for AwsServiceBuilder
source§fn eq(&self, other: &AwsServiceBuilder) -> bool
fn eq(&self, other: &AwsServiceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsServiceBuilder
Auto Trait Implementations§
impl Freeze for AwsServiceBuilder
impl RefUnwindSafe for AwsServiceBuilder
impl Send for AwsServiceBuilder
impl Sync for AwsServiceBuilder
impl Unpin for AwsServiceBuilder
impl UnwindSafe for AwsServiceBuilder
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> 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.