/** * <p> * The name (friendly name, not ARN) of the role to list attached policies for. * </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 roleName * The name (friendly name, not ARN) of the role to list attached policies for.</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 ListAttachedRolePoliciesRequest withRoleName(String roleName) { setRoleName(roleName); return this; }
/** * <p> * The name (friendly name, not ARN) of the role to list attached policies for. * </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 roleName * The name (friendly name, not ARN) of the role to list attached policies for.</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 ListAttachedRolePoliciesRequest withRoleName(String roleName) { setRoleName(roleName); return this; }
ListAttachedRolePoliciesRequest request = new ListAttachedRolePoliciesRequest(); ListAttachedRolePoliciesResult result = null; request.setRoleName(roleName);