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

A builder for Volume

Implementations

The volume ID.

The volume ID.

The Amazon EC2 volume ID.

The Amazon EC2 volume ID.

The volume name.

The volume name.

The RAID array ID.

The RAID array ID.

The instance ID.

The instance ID.

The value returned by DescribeVolumes.

The value returned by DescribeVolumes.

The volume size.

The volume size.

The device name.

The device name.

The volume mount point. For example, "/mnt/disk1".

The volume mount point. For example, "/mnt/disk1".

The AWS region. For more information about AWS regions, see Regions and Endpoints.

The AWS region. For more information about AWS regions, see Regions and Endpoints.

The volume Availability Zone. For more information, see Regions and Endpoints.

The volume Availability Zone. For more information, see Regions and Endpoints.

The volume type. For more information, see Amazon EBS Volume Types.

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

The volume type. For more information, see Amazon EBS Volume Types.

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

For PIOPS volumes, the IOPS per disk.

For PIOPS volumes, the IOPS per disk.

Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

Consumes the builder and constructs a Volume

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