public UpdateStackRequest withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) {
        this.defaultRootDeviceType = defaultRootDeviceType.toString();
        return this;
    }
<p>
The default root device type. This value is used by default for all instances in the stack, but you can override
it when you create an instance. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device"
>Storage for the Root Device</a>.
</p>

@param defaultRootDeviceType
       The default root device type. This value is used by default for all instances in the stack, but you can
       override it when you create an instance. For more information, see <a href=
       "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device"
       >Storage for the Root Device</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see RootDeviceType
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java