public RegisterImageRequest withTpmSupport(String tpmSupport) {
        setTpmSupport(tpmSupport);
        return this;
    }
<p>
Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2 User
Guide</i>.
</p>

@param tpmSupport
       Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2
       User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see TpmSupportValues
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java