Struct aws_sdk_macie2::operation::update_classification_scope::builders::UpdateClassificationScopeFluentBuilder
source · pub struct UpdateClassificationScopeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateClassificationScope
.
Updates the classification scope settings for an account.
Implementations§
source§impl UpdateClassificationScopeFluentBuilder
impl UpdateClassificationScopeFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClassificationScopeInputBuilder
pub fn as_input(&self) -> &UpdateClassificationScopeInputBuilder
Access the UpdateClassificationScope as a reference.
sourcepub async fn send(
self
) -> Result<UpdateClassificationScopeOutput, SdkError<UpdateClassificationScopeError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateClassificationScopeOutput, SdkError<UpdateClassificationScopeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateClassificationScopeOutput, UpdateClassificationScopeError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateClassificationScopeOutput, UpdateClassificationScopeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn s3(self, input: S3ClassificationScopeUpdate) -> Self
pub fn s3(self, input: S3ClassificationScopeUpdate) -> Self
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
sourcepub fn set_s3(self, input: Option<S3ClassificationScopeUpdate>) -> Self
pub fn set_s3(self, input: Option<S3ClassificationScopeUpdate>) -> Self
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
sourcepub fn get_s3(&self) -> &Option<S3ClassificationScopeUpdate>
pub fn get_s3(&self) -> &Option<S3ClassificationScopeUpdate>
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
Trait Implementations§
source§impl Clone for UpdateClassificationScopeFluentBuilder
impl Clone for UpdateClassificationScopeFluentBuilder
source§fn clone(&self) -> UpdateClassificationScopeFluentBuilder
fn clone(&self) -> UpdateClassificationScopeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more