public AdminForgetDeviceRequest withUsername(String username) {
        setUsername(username);
        return this;
    }
<p>
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If <code>username</code> isn't an alias attribute in your
user pool, this value must be the <code>sub</code> of a local user or the username of a user from a third-party
IdP.
</p>

@param username
       The username of the user that you want to query or modify. The value of this parameter is typically your
       user's username, but it can be any of their alias attributes. If <code>username</code> isn't an alias
       attribute in your user pool, this value must be the <code>sub</code> of a local user or the username of a
       user from a third-party IdP.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/AdminForgetDeviceRequest.java