public UpdateFileSystemLustreMetadataConfiguration withMode(MetadataConfigurationMode mode) {
        this.mode = mode.toString();
        return this;
    }
<p>
The metadata configuration mode for provisioning Metadata IOPS for an FSx for Lustre file system using a
<code>PERSISTENT_2</code> deployment type.
</p>
<ul>
<li>
<p>
To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify <code>USER_PROVISIONED</code> as the
value for this parameter. Then use the Iops parameter to provide a Metadata IOPS value that is greater than or
equal to the current number of Metadata IOPS provisioned for the file system.
</p>
</li>
<li>
<p>
To switch from USER_PROVISIONED mode, specify <code>AUTOMATIC</code> as the value for this parameter, but do not
input a value for Iops.
</p>
<note>
<p>
If you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current Metadata IOPS value is greater
than the automated default, FSx for Lustre rejects the request because downscaling Metadata IOPS is not
supported.
</p>
</note></li>
</ul>

@param mode
       The metadata configuration mode for provisioning Metadata IOPS for an FSx for Lustre file system using a
       <code>PERSISTENT_2</code> deployment type.</p>
       <ul>
       <li>
       <p>
       To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify <code>USER_PROVISIONED</code> as
       the value for this parameter. Then use the Iops parameter to provide a Metadata IOPS value that is greater
       than or equal to the current number of Metadata IOPS provisioned for the file system.
       </p>
       </li>
       <li>
       <p>
       To switch from USER_PROVISIONED mode, specify <code>AUTOMATIC</code> as the value for this parameter, but
       do not input a value for Iops.
       </p>
       <note>
       <p>
       If you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current Metadata IOPS value is
       greater than the automated default, FSx for Lustre rejects the request because downscaling Metadata IOPS
       is not supported.
       </p>
       </note></li>
@return Returns a reference to this object so that method calls can be chained together.
@see MetadataConfigurationMode
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/UpdateFileSystemLustreMetadataConfiguration.java