Struct aws_sdk_lightsail::model::bundle::Builder[][src]

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

A builder for Bundle

Implementations

The price in US dollars (e.g., 5.0) of the bundle.

The price in US dollars (e.g., 5.0) of the bundle.

The number of vCPUs included in the bundle (e.g., 2).

The number of vCPUs included in the bundle (e.g., 2).

The size of the SSD (e.g., 30).

The size of the SSD (e.g., 30).

The bundle ID (e.g., micro_1_0).

The bundle ID (e.g., micro_1_0).

The Amazon EC2 instance type (e.g., t2.micro).

The Amazon EC2 instance type (e.g., t2.micro).

A Boolean value indicating whether the bundle is active.

A Boolean value indicating whether the bundle is active.

A friendly name for the bundle (e.g., Micro).

A friendly name for the bundle (e.g., Micro).

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

The amount of RAM in GB (e.g., 2.0).

The amount of RAM in GB (e.g., 2.0).

The data transfer rate per month in GB (e.g., 2000).

The data transfer rate per month in GB (e.g., 2000).

Appends an item to supported_platforms.

To override the contents of this collection use set_supported_platforms.

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Consumes the builder and constructs a Bundle

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)

recently added

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