#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Finding
Implementations
sourceimpl Builder
impl Builder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
sourcepub fn archived(self, input: bool) -> Self
pub fn archived(self, input: bool) -> Self
Specifies whether the finding is archived (suppressed).
sourcepub fn set_archived(self, input: Option<bool>) -> Self
pub fn set_archived(self, input: Option<bool>) -> Self
Specifies whether the finding is archived (suppressed).
sourcepub fn category(self, input: FindingCategory) -> Self
pub fn category(self, input: FindingCategory) -> Self
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
sourcepub fn set_category(self, input: Option<FindingCategory>) -> Self
pub fn set_category(self, input: Option<FindingCategory>) -> Self
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
sourcepub fn classification_details(self, input: ClassificationDetails) -> Self
pub fn classification_details(self, input: ClassificationDetails) -> Self
The details of a sensitive data finding. This value is null for a policy finding.
sourcepub fn set_classification_details(
self,
input: Option<ClassificationDetails>
) -> Self
pub fn set_classification_details(
self,
input: Option<ClassificationDetails>
) -> Self
The details of a sensitive data finding. This value is null for a policy finding.
sourcepub fn count(self, input: i64) -> Self
pub fn count(self, input: i64) -> Self
The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
sourcepub fn set_count(self, input: Option<i64>) -> Self
pub fn set_count(self, input: Option<i64>) -> Self
The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the finding.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the finding.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
sourcepub fn partition(self, input: impl Into<String>) -> Self
pub fn partition(self, input: impl Into<String>) -> Self
The Amazon Web Services partition that Amazon Macie created the finding in.
sourcepub fn set_partition(self, input: Option<String>) -> Self
pub fn set_partition(self, input: Option<String>) -> Self
The Amazon Web Services partition that Amazon Macie created the finding in.
sourcepub fn policy_details(self, input: PolicyDetails) -> Self
pub fn policy_details(self, input: PolicyDetails) -> Self
The details of a policy finding. This value is null for a sensitive data finding.
sourcepub fn set_policy_details(self, input: Option<PolicyDetails>) -> Self
pub fn set_policy_details(self, input: Option<PolicyDetails>) -> Self
The details of a policy finding. This value is null for a sensitive data finding.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region that Amazon Macie created the finding in.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region that Amazon Macie created the finding in.
sourcepub fn resources_affected(self, input: ResourcesAffected) -> Self
pub fn resources_affected(self, input: ResourcesAffected) -> Self
The resources that the finding applies to.
sourcepub fn set_resources_affected(self, input: Option<ResourcesAffected>) -> Self
pub fn set_resources_affected(self, input: Option<ResourcesAffected>) -> Self
The resources that the finding applies to.
sourcepub fn sample(self, input: bool) -> Self
pub fn sample(self, input: bool) -> Self
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
sourcepub fn set_sample(self, input: Option<bool>) -> Self
pub fn set_sample(self, input: Option<bool>) -> Self
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
sourcepub fn schema_version(self, input: impl Into<String>) -> Self
pub fn schema_version(self, input: impl Into<String>) -> Self
The version of the schema that was used to define the data structures in the finding.
sourcepub fn set_schema_version(self, input: Option<String>) -> Self
pub fn set_schema_version(self, input: Option<String>) -> Self
The version of the schema that was used to define the data structures in the finding.
sourcepub fn set_severity(self, input: Option<Severity>) -> Self
pub fn set_severity(self, input: Option<Severity>) -> Self
The severity level and score for the finding.
sourcepub fn type(self, input: FindingType) -> Self
pub fn type(self, input: FindingType) -> Self
The type of the finding.
sourcepub fn set_type(self, input: Option<FindingType>) -> Self
pub fn set_type(self, input: Option<FindingType>) -> Self
The type of the finding.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more