#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AssessmentEvidenceFolder
Implementations
sourceimpl Builder
impl Builder
sourcepub fn date(self, input: DateTime) -> Self
pub fn date(self, input: DateTime) -> Self
The date when the first evidence was added to the evidence folder.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
The date when the first evidence was added to the evidence folder.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The identifier for the assessment.
sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The identifier for the assessment.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The identifier for the control set.
sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The identifier for the control set.
sourcepub fn control_id(self, input: impl Into<String>) -> Self
pub fn control_id(self, input: impl Into<String>) -> Self
The unique identifier for the control.
sourcepub fn set_control_id(self, input: Option<String>) -> Self
pub fn set_control_id(self, input: Option<String>) -> Self
The unique identifier for the control.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the folder that the evidence is stored in.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the folder that the evidence is stored in.
sourcepub fn data_source(self, input: impl Into<String>) -> Self
pub fn data_source(self, input: impl Into<String>) -> Self
The Amazon Web Service that the evidence was collected from.
sourcepub fn set_data_source(self, input: Option<String>) -> Self
pub fn set_data_source(self, input: Option<String>) -> Self
The Amazon Web Service that the evidence was collected from.
The name of the user who created the evidence folder.
The name of the user who created the evidence folder.
sourcepub fn total_evidence(self, input: i32) -> Self
pub fn total_evidence(self, input: i32) -> Self
The total amount of evidence in the evidence folder.
sourcepub fn set_total_evidence(self, input: Option<i32>) -> Self
pub fn set_total_evidence(self, input: Option<i32>) -> Self
The total amount of evidence in the evidence folder.
sourcepub fn assessment_report_selection_count(self, input: i32) -> Self
pub fn assessment_report_selection_count(self, input: i32) -> Self
The total count of evidence that's included in the assessment report.
sourcepub fn set_assessment_report_selection_count(self, input: Option<i32>) -> Self
pub fn set_assessment_report_selection_count(self, input: Option<i32>) -> Self
The total count of evidence that's included in the assessment report.
sourcepub fn control_name(self, input: impl Into<String>) -> Self
pub fn control_name(self, input: impl Into<String>) -> Self
The name of the control.
sourcepub fn set_control_name(self, input: Option<String>) -> Self
pub fn set_control_name(self, input: Option<String>) -> Self
The name of the control.
sourcepub fn evidence_resources_included_count(self, input: i32) -> Self
pub fn evidence_resources_included_count(self, input: i32) -> Self
The amount of evidence that's included in the evidence folder.
sourcepub fn set_evidence_resources_included_count(self, input: Option<i32>) -> Self
pub fn set_evidence_resources_included_count(self, input: Option<i32>) -> Self
The amount of evidence that's included in the evidence folder.
sourcepub fn evidence_by_type_configuration_data_count(self, input: i32) -> Self
pub fn evidence_by_type_configuration_data_count(self, input: i32) -> Self
The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM.
sourcepub fn set_evidence_by_type_configuration_data_count(
self,
input: Option<i32>
) -> Self
pub fn set_evidence_by_type_configuration_data_count(
self,
input: Option<i32>
) -> Self
The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM.
sourcepub fn evidence_by_type_manual_count(self, input: i32) -> Self
pub fn evidence_by_type_manual_count(self, input: i32) -> Self
The number of evidence that falls under the manual category. This evidence is imported manually.
sourcepub fn set_evidence_by_type_manual_count(self, input: Option<i32>) -> Self
pub fn set_evidence_by_type_manual_count(self, input: Option<i32>) -> Self
The number of evidence that falls under the manual category. This evidence is imported manually.
sourcepub fn evidence_by_type_compliance_check_count(self, input: i32) -> Self
pub fn evidence_by_type_compliance_check_count(self, input: i32) -> Self
The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub.
sourcepub fn set_evidence_by_type_compliance_check_count(
self,
input: Option<i32>
) -> Self
pub fn set_evidence_by_type_compliance_check_count(
self,
input: Option<i32>
) -> Self
The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub.
sourcepub fn evidence_by_type_compliance_check_issues_count(self, input: i32) -> Self
pub fn evidence_by_type_compliance_check_issues_count(self, input: i32) -> Self
The total number of issues that were reported directly from Security Hub, Config, or both.
sourcepub fn set_evidence_by_type_compliance_check_issues_count(
self,
input: Option<i32>
) -> Self
pub fn set_evidence_by_type_compliance_check_issues_count(
self,
input: Option<i32>
) -> Self
The total number of issues that were reported directly from Security Hub, Config, or both.
sourcepub fn evidence_by_type_user_activity_count(self, input: i32) -> Self
pub fn evidence_by_type_user_activity_count(self, input: i32) -> Self
The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs.
sourcepub fn set_evidence_by_type_user_activity_count(
self,
input: Option<i32>
) -> Self
pub fn set_evidence_by_type_user_activity_count(
self,
input: Option<i32>
) -> Self
The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs.
sourcepub fn evidence_aws_service_source_count(self, input: i32) -> Self
pub fn evidence_aws_service_source_count(self, input: i32) -> Self
The total number of Amazon Web Services resources that were assessed to generate the evidence.
sourcepub fn set_evidence_aws_service_source_count(self, input: Option<i32>) -> Self
pub fn set_evidence_aws_service_source_count(self, input: Option<i32>) -> Self
The total number of Amazon Web Services resources that were assessed to generate the evidence.
sourcepub fn build(self) -> AssessmentEvidenceFolder
pub fn build(self) -> AssessmentEvidenceFolder
Consumes the builder and constructs a AssessmentEvidenceFolder
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