/** * <p> * The name of the user whose access key pair you want to delete. * </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: _+=,.@- * </p> * * @param userName * The name of the user whose access key pair you want to delete.</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: _+=,.@- * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAccessKeyRequest withUserName(String userName) { setUserName(userName); return this; }
/** * Constructs a new DeleteAccessKeyRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param userName * The name of the user whose access key pair you want to delete.</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: _+=,.@- * @param accessKeyId * The access key ID for the access key ID and secret access key you want to delete. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters that can consist of any upper or lowercased letter or digit. */ public DeleteAccessKeyRequest(String userName, String accessKeyId) { setUserName(userName); setAccessKeyId(accessKeyId); }
/** * <p> * The name of the user whose access key pair you want to delete. * </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: _+=,.@- * </p> * * @param userName * The name of the user whose access key pair you want to delete.</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: _+=,.@- * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAccessKeyRequest withUserName(String userName) { setUserName(userName); return this; }
/** * Constructs a new DeleteAccessKeyRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param userName * The name of the user whose access key pair you want to delete.</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: _+=,.@- * @param accessKeyId * The access key ID for the access key ID and secret access key you want to delete. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters that can consist of any upper or lowercased letter or digit. */ public DeleteAccessKeyRequest(String userName, String accessKeyId) { setUserName(userName); setAccessKeyId(accessKeyId); }