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.
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 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 build(self) -> Result<UpdateResourceProfileInput, BuildError>
pub fn build(self) -> Result<UpdateResourceProfileInput, BuildError>
Consumes the builder and constructs a UpdateResourceProfileInput.
Trait Implementations§
source§impl Clone for UpdateResourceProfileInputBuilder
impl Clone for UpdateResourceProfileInputBuilder
source§fn clone(&self) -> UpdateResourceProfileInputBuilder
fn clone(&self) -> UpdateResourceProfileInputBuilder
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 Default for UpdateResourceProfileInputBuilder
impl Default for UpdateResourceProfileInputBuilder
source§fn default() -> UpdateResourceProfileInputBuilder
fn default() -> UpdateResourceProfileInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateResourceProfileInputBuilder> for UpdateResourceProfileInputBuilder
impl PartialEq<UpdateResourceProfileInputBuilder> for UpdateResourceProfileInputBuilder
source§fn eq(&self, other: &UpdateResourceProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceProfileInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateResourceProfileInputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more