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

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

A builder for AssetAttributes

Implementations

The schema version of this data type.

The schema version of this data type.

The ID of the agent that is installed on the EC2 instance where the finding is generated.

The ID of the agent that is installed on the EC2 instance where the finding is generated.

The Auto Scaling group of the EC2 instance where the finding is generated.

The Auto Scaling group of the EC2 instance where the finding is generated.

The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

The hostname of the EC2 instance where the finding is generated.

The hostname of the EC2 instance where the finding is generated.

Appends an item to ipv4_addresses.

To override the contents of this collection use set_ipv4_addresses.

The list of IP v4 addresses of the EC2 instance where the finding is generated.

The list of IP v4 addresses of the EC2 instance where the finding is generated.

Appends an item to tags.

To override the contents of this collection use set_tags.

The tags related to the EC2 instance where the finding is generated.

The tags related to the EC2 instance where the finding is generated.

Appends an item to network_interfaces.

To override the contents of this collection use set_network_interfaces.

An array of the network interfaces interacting with the EC2 instance where the finding is generated.

An array of the network interfaces interacting with the EC2 instance where the finding is generated.

Consumes the builder and constructs a AssetAttributes

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