Struct aws_sdk_inspector::model::assessment_run::Builder[][src]

#[non_exhaustive]
pub struct Builder { /* fields omitted */ }
Expand description

A builder for AssessmentRun

Implementations

The ARN of the assessment run.

The ARN of the assessment run.

The auto-generated name for the assessment run.

The auto-generated name for the assessment run.

The ARN of the assessment template that is associated with the assessment run.

The ARN of the assessment template that is associated with the assessment run.

The state of the assessment run.

The state of the assessment run.

The duration of the assessment run.

The duration of the assessment run.

Appends an item to rules_package_arns.

To override the contents of this collection use set_rules_package_arns.

The rules packages selected for the assessment run.

The rules packages selected for the assessment run.

Appends an item to user_attributes_for_findings.

To override the contents of this collection use set_user_attributes_for_findings.

The user-defined attributes that are assigned to every generated finding.

The user-defined attributes that are assigned to every generated finding.

The time when StartAssessmentRun was called.

The time when StartAssessmentRun was called.

The time when StartAssessmentRun was called.

The time when StartAssessmentRun was called.

The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.

The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.

The last time when the assessment run's state changed.

The last time when the assessment run's state changed.

A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.

A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.

Appends an item to state_changes.

To override the contents of this collection use set_state_changes.

A list of the assessment run state changes.

A list of the assessment run state changes.

Appends an item to notifications.

To override the contents of this collection use set_notifications.

A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.

A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.

Adds a key-value pair to finding_counts.

To override the contents of this collection use set_finding_counts.

Provides a total count of generated findings per severity.

Provides a total count of generated findings per severity.

Consumes the builder and constructs a AssessmentRun

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more