Struct aws_sdk_macie2::model::finding::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Finding
.
Implementations§
source§impl 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 unique.
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 unique.
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 Amazon Macie created the finding.
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 Amazon Macie created the finding.
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 Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.
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 Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.