/** * Constructs a new CreateUserRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param userName * The name of the user to create.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also * include any of the following characters: _+=,.@-. User names are not distinguished by case. For example, * you cannot create users named both "TESTUSER" and "testuser". */ public CreateUserRequest(String userName) { setUserName(userName); }
/** * <p> * The name of the user to create. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of * characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of * the following characters: _+=,.@-. User names are not distinguished by case. For example, you cannot create users * named both "TESTUSER" and "testuser". * </p> * * @param userName * The name of the user to create.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also * include any of the following characters: _+=,.@-. User names are not distinguished by case. For example, * you cannot create users named both "TESTUSER" and "testuser". * @return Returns a reference to this object so that method calls can be chained together. */ public CreateUserRequest withUserName(String userName) { setUserName(userName); return this; }
/** * Constructs a new CreateUserRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param userName * The name of the user to create.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also * include any of the following characters: _+=,.@-. User names are not distinguished by case. For example, * you cannot create users named both "TESTUSER" and "testuser". */ public CreateUserRequest(String userName) { setUserName(userName); }
/** * <p> * The name of the user to create. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of * characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of * the following characters: _+=,.@-. User names are not distinguished by case. For example, you cannot create users * named both "TESTUSER" and "testuser". * </p> * * @param userName * The name of the user to create.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also * include any of the following characters: _+=,.@-. User names are not distinguished by case. For example, * you cannot create users named both "TESTUSER" and "testuser". * @return Returns a reference to this object so that method calls can be chained together. */ public CreateUserRequest withUserName(String userName) { setUserName(userName); return this; }