1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateVolume`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::set_client_request_token):<br>required: **false**<br><p>(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p><br>
    ///   - [`volume_id(impl Into<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::volume_id) / [`set_volume_id(Option<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::set_volume_id):<br>required: **true**<br><p>The ID of the volume that you want to update, in the format <code>fsvol-0123456789abcdef0</code>.</p><br>
    ///   - [`ontap_configuration(UpdateOntapVolumeConfiguration)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::ontap_configuration) / [`set_ontap_configuration(Option<UpdateOntapVolumeConfiguration>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::set_ontap_configuration):<br>required: **false**<br><p>The configuration of the ONTAP volume that you are updating.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::set_name):<br>required: **false**<br><p>The name of the OpenZFS volume. OpenZFS root volumes are automatically named <code>FSX</code>. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume.</p><br>
    ///   - [`open_zfs_configuration(UpdateOpenZfsVolumeConfiguration)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::open_zfs_configuration) / [`set_open_zfs_configuration(Option<UpdateOpenZfsVolumeConfiguration>)`](crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::set_open_zfs_configuration):<br>required: **false**<br><p>The configuration of the OpenZFS volume that you are updating.</p><br>
    /// - On success, responds with [`UpdateVolumeOutput`](crate::operation::update_volume::UpdateVolumeOutput) with field(s):
    ///   - [`volume(Option<Volume>)`](crate::operation::update_volume::UpdateVolumeOutput::volume): <p>A description of the volume just updated. Returned after a successful <code>UpdateVolume</code> API operation.</p>
    /// - On failure, responds with [`SdkError<UpdateVolumeError>`](crate::operation::update_volume::UpdateVolumeError)
    pub fn update_volume(&self) -> crate::operation::update_volume::builders::UpdateVolumeFluentBuilder {
        crate::operation::update_volume::builders::UpdateVolumeFluentBuilder::new(self.handle.clone())
    }
}