Struct aws_sdk_macie2::types::builders::S3BucketOwnerBuilder
source · #[non_exhaustive]pub struct S3BucketOwnerBuilder { /* private fields */ }
Expand description
A builder for S3BucketOwner
.
Implementations§
source§impl S3BucketOwnerBuilder
impl S3BucketOwnerBuilder
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of the account that owns the bucket.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of the account that owns the bucket.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of the account that owns the bucket.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The canonical user ID for the account that owns the bucket.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The canonical user ID for the account that owns the bucket.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The canonical user ID for the account that owns the bucket.
sourcepub fn build(self) -> S3BucketOwner
pub fn build(self) -> S3BucketOwner
Consumes the builder and constructs a S3BucketOwner
.
Trait Implementations§
source§impl Clone for S3BucketOwnerBuilder
impl Clone for S3BucketOwnerBuilder
source§fn clone(&self) -> S3BucketOwnerBuilder
fn clone(&self) -> S3BucketOwnerBuilder
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 S3BucketOwnerBuilder
impl Debug for S3BucketOwnerBuilder
source§impl Default for S3BucketOwnerBuilder
impl Default for S3BucketOwnerBuilder
source§fn default() -> S3BucketOwnerBuilder
fn default() -> S3BucketOwnerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3BucketOwnerBuilder
impl PartialEq for S3BucketOwnerBuilder
source§fn eq(&self, other: &S3BucketOwnerBuilder) -> bool
fn eq(&self, other: &S3BucketOwnerBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3BucketOwnerBuilder
Auto Trait Implementations§
impl RefUnwindSafe for S3BucketOwnerBuilder
impl Send for S3BucketOwnerBuilder
impl Sync for S3BucketOwnerBuilder
impl Unpin for S3BucketOwnerBuilder
impl UnwindSafe for S3BucketOwnerBuilder
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>
Creates a shared type from an unshared type.