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

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

A builder for Disk

Implementations

The unique name of the disk.

The unique name of the disk.

The Amazon Resource Name (ARN) of the disk.

The Amazon Resource Name (ARN) of the disk.

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

The date when the disk was created.

The date when the disk was created.

The AWS Region and Availability Zone where the disk is located.

The AWS Region and Availability Zone where the disk is located.

The Lightsail resource type (e.g., Disk).

The Lightsail resource type (e.g., Disk).

Appends an item to tags.

To override the contents of this collection use set_tags.

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Appends an item to add_ons.

To override the contents of this collection use set_add_ons.

An array of objects representing the add-ons enabled on the disk.

An array of objects representing the add-ons enabled on the disk.

The size of the disk in GB.

The size of the disk in GB.

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

The input/output operations per second (IOPS) of the disk.

The input/output operations per second (IOPS) of the disk.

The disk path.

The disk path.

Describes the status of the disk.

Describes the status of the disk.

The resources to which the disk is attached.

The resources to which the disk is attached.

A Boolean value indicating whether the disk is attached.

A Boolean value indicating whether the disk is attached.

(Deprecated) The attachment state of the disk.

In releases prior to November 14, 2017, this parameter returned attached for system disks in the API response. It is now deprecated, but still included in the response. Use isAttached instead.

(Deprecated) The attachment state of the disk.

In releases prior to November 14, 2017, this parameter returned attached for system disks in the API response. It is now deprecated, but still included in the response. Use isAttached instead.

(Deprecated) The number of GB in use by the disk.

In releases prior to November 14, 2017, this parameter was not included in the API response. It is now deprecated.

(Deprecated) The number of GB in use by the disk.

In releases prior to November 14, 2017, this parameter was not included in the API response. It is now deprecated.

Consumes the builder and constructs a Disk

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