public CreateStackRequest withDefaultRootDeviceType(String defaultRootDeviceType) {
        setDefaultRootDeviceType(defaultRootDeviceType);
        return this;
    }
<p>
The default root device type. This value is the default for all instances in the stack, but you can override it
when you create an instance. The default option is <code>instance-store</code>. 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 the default for all instances in the stack, but you can
       override it when you create an instance. The default option is <code>instance-store</code>. 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/CreateStackRequest.java