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