#[non_exhaustive]pub struct ResourceProfileArtifactBuilder { /* private fields */ }
Expand description
A builder for ResourceProfileArtifact
.
Implementations§
source§impl ResourceProfileArtifactBuilder
impl ResourceProfileArtifactBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the object.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the object.
sourcepub fn classification_result_status(self, input: impl Into<String>) -> Self
pub fn classification_result_status(self, input: impl Into<String>) -> Self
The status of the analysis. Possible values are:
-
COMPLETE - Amazon Macie successfully completed its analysis of the object.
-
PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format.
-
SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
sourcepub fn set_classification_result_status(self, input: Option<String>) -> Self
pub fn set_classification_result_status(self, input: Option<String>) -> Self
The status of the analysis. Possible values are:
-
COMPLETE - Amazon Macie successfully completed its analysis of the object.
-
PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format.
-
SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
sourcepub fn get_classification_result_status(&self) -> &Option<String>
pub fn get_classification_result_status(&self) -> &Option<String>
The status of the analysis. Possible values are:
-
COMPLETE - Amazon Macie successfully completed its analysis of the object.
-
PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format.
-
SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
sourcepub fn sensitive(self, input: bool) -> Self
pub fn sensitive(self, input: bool) -> Self
Specifies whether Amazon Macie found sensitive data in the object.
sourcepub fn set_sensitive(self, input: Option<bool>) -> Self
pub fn set_sensitive(self, input: Option<bool>) -> Self
Specifies whether Amazon Macie found sensitive data in the object.
sourcepub fn get_sensitive(&self) -> &Option<bool>
pub fn get_sensitive(&self) -> &Option<bool>
Specifies whether Amazon Macie found sensitive data in the object.
sourcepub fn build(self) -> ResourceProfileArtifact
pub fn build(self) -> ResourceProfileArtifact
Consumes the builder and constructs a ResourceProfileArtifact
.
Trait Implementations§
source§impl Clone for ResourceProfileArtifactBuilder
impl Clone for ResourceProfileArtifactBuilder
source§fn clone(&self) -> ResourceProfileArtifactBuilder
fn clone(&self) -> ResourceProfileArtifactBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResourceProfileArtifactBuilder
impl Default for ResourceProfileArtifactBuilder
source§fn default() -> ResourceProfileArtifactBuilder
fn default() -> ResourceProfileArtifactBuilder
source§impl PartialEq for ResourceProfileArtifactBuilder
impl PartialEq for ResourceProfileArtifactBuilder
source§fn eq(&self, other: &ResourceProfileArtifactBuilder) -> bool
fn eq(&self, other: &ResourceProfileArtifactBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceProfileArtifactBuilder
Auto Trait Implementations§
impl Freeze for ResourceProfileArtifactBuilder
impl RefUnwindSafe for ResourceProfileArtifactBuilder
impl Send for ResourceProfileArtifactBuilder
impl Sync for ResourceProfileArtifactBuilder
impl Unpin for ResourceProfileArtifactBuilder
impl UnwindSafe for ResourceProfileArtifactBuilder
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