#[non_exhaustive]pub struct S3ClassificationScopeExclusionUpdateBuilder { /* private fields */ }
Expand description
A builder for S3ClassificationScopeExclusionUpdate
.
Implementations§
source§impl S3ClassificationScopeExclusionUpdateBuilder
impl S3ClassificationScopeExclusionUpdateBuilder
sourcepub fn bucket_names(self, input: impl Into<String>) -> Self
pub fn bucket_names(self, input: impl Into<String>) -> Self
Appends an item to bucket_names
.
To override the contents of this collection use set_bucket_names
.
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
sourcepub fn set_bucket_names(self, input: Option<Vec<String>>) -> Self
pub fn set_bucket_names(self, input: Option<Vec<String>>) -> Self
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
sourcepub fn operation(self, input: ClassificationScopeUpdateOperation) -> Self
pub fn operation(self, input: ClassificationScopeUpdateOperation) -> Self
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
sourcepub fn set_operation(
self,
input: Option<ClassificationScopeUpdateOperation>
) -> Self
pub fn set_operation( self, input: Option<ClassificationScopeUpdateOperation> ) -> Self
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
sourcepub fn build(self) -> S3ClassificationScopeExclusionUpdate
pub fn build(self) -> S3ClassificationScopeExclusionUpdate
Consumes the builder and constructs a S3ClassificationScopeExclusionUpdate
.
Trait Implementations§
source§impl Clone for S3ClassificationScopeExclusionUpdateBuilder
impl Clone for S3ClassificationScopeExclusionUpdateBuilder
source§fn clone(&self) -> S3ClassificationScopeExclusionUpdateBuilder
fn clone(&self) -> S3ClassificationScopeExclusionUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for S3ClassificationScopeExclusionUpdateBuilder
impl Default for S3ClassificationScopeExclusionUpdateBuilder
source§fn default() -> S3ClassificationScopeExclusionUpdateBuilder
fn default() -> S3ClassificationScopeExclusionUpdateBuilder
source§impl PartialEq<S3ClassificationScopeExclusionUpdateBuilder> for S3ClassificationScopeExclusionUpdateBuilder
impl PartialEq<S3ClassificationScopeExclusionUpdateBuilder> for S3ClassificationScopeExclusionUpdateBuilder
source§fn eq(&self, other: &S3ClassificationScopeExclusionUpdateBuilder) -> bool
fn eq(&self, other: &S3ClassificationScopeExclusionUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.