pub struct Builder { /* private fields */ }
Expand description
A builder for S3ClassificationScopeExclusionUpdate
.
Implementations§
source§impl Builder
impl Builder
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
.