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 ==
.