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 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 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<S3BucketOwnerBuilder> for S3BucketOwnerBuilder
impl PartialEq<S3BucketOwnerBuilder> 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 ==
.