/** * <p> * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a * slash (/), listing all policies. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of * characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward * slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), * including most punctuation characters, digits, and upper and lowercased letters. * </p> * * @param pathPrefix * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults * to a slash (/), listing all policies.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of either a forward slash (/) by itself or a string that must begin and end with * forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL * character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAttachedRolePoliciesRequest withPathPrefix(String pathPrefix) { setPathPrefix(pathPrefix); return this; }
/** * <p> * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults to a * slash (/), listing all policies. * </p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of * characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward * slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), * including most punctuation characters, digits, and upper and lowercased letters. * </p> * * @param pathPrefix * The path prefix for filtering the results. This parameter is optional. If it is not included, it defaults * to a slash (/), listing all policies.</p> * <p> * This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string * of characters consisting of either a forward slash (/) by itself or a string that must begin and end with * forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL * character (\u007F), including most punctuation characters, digits, and upper and lowercased letters. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAttachedRolePoliciesRequest withPathPrefix(String pathPrefix) { setPathPrefix(pathPrefix); return this; }