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

A builder for AssessmentTemplate

Implementations

The ARN of the assessment template.

The ARN of the assessment template.

The name of the assessment template.

The name of the assessment template.

The ARN of the assessment target that corresponds to this assessment template.

The ARN of the assessment target that corresponds to this assessment template.

The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

Appends an item to rules_package_arns.

To override the contents of this collection use set_rules_package_arns.

The rules packages that are specified for this assessment template.

The rules packages that are specified for this assessment template.

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 from the assessment run that uses this assessment template.

The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.

The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.

The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.

The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.

The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.

The time at which the assessment template is created.

The time at which the assessment template is created.

Consumes the builder and constructs a AssessmentTemplate

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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