public Permission withAllowSudo(Boolean allowSudo) {
        setAllowSudo(allowSudo);
        return this;
    }
<p>
Whether the user can use <b>sudo</b>.
</p>

@param allowSudo
       Whether the user can use <b>sudo</b>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Permission.java