Struct aws_sdk_macie2::operation::update_resource_profile::builders::UpdateResourceProfileInputBuilder
source · #[non_exhaustive]pub struct UpdateResourceProfileInputBuilder { /* private fields */ }
Expand description
A builder for UpdateResourceProfileInput
.
Implementations§
source§impl UpdateResourceProfileInputBuilder
impl UpdateResourceProfileInputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
sourcepub fn sensitivity_score_override(self, input: i32) -> Self
pub fn sensitivity_score_override(self, input: i32) -> Self
The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
sourcepub fn set_sensitivity_score_override(self, input: Option<i32>) -> Self
pub fn set_sensitivity_score_override(self, input: Option<i32>) -> Self
The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
sourcepub fn get_sensitivity_score_override(&self) -> &Option<i32>
pub fn get_sensitivity_score_override(&self) -> &Option<i32>
The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
sourcepub fn build(self) -> Result<UpdateResourceProfileInput, BuildError>
pub fn build(self) -> Result<UpdateResourceProfileInput, BuildError>
Consumes the builder and constructs a UpdateResourceProfileInput
.
source§impl UpdateResourceProfileInputBuilder
impl UpdateResourceProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateResourceProfileOutput, SdkError<UpdateResourceProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateResourceProfileOutput, SdkError<UpdateResourceProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourceProfileInputBuilder
impl Clone for UpdateResourceProfileInputBuilder
source§fn clone(&self) -> UpdateResourceProfileInputBuilder
fn clone(&self) -> UpdateResourceProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateResourceProfileInputBuilder
impl Default for UpdateResourceProfileInputBuilder
source§fn default() -> UpdateResourceProfileInputBuilder
fn default() -> UpdateResourceProfileInputBuilder
source§impl PartialEq for UpdateResourceProfileInputBuilder
impl PartialEq for UpdateResourceProfileInputBuilder
source§fn eq(&self, other: &UpdateResourceProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceProfileInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateResourceProfileInputBuilder
impl RefUnwindSafe for UpdateResourceProfileInputBuilder
impl Send for UpdateResourceProfileInputBuilder
impl Sync for UpdateResourceProfileInputBuilder
impl Unpin for UpdateResourceProfileInputBuilder
impl UnwindSafe for UpdateResourceProfileInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more