code: public RoleDetail withRolePolicyList(PolicyDetail... rolePolicyList) {
          if (this.rolePolicyList == null) {
              setRolePolicyList(new com.amazonaws.internal.SdkInternalList<PolicyDetail>(rolePolicyList.length));
          }
          for (PolicyDetail ele : rolePolicyList) {
              this.rolePolicyList.add(ele);
          }
          return this;
      }
docs: <p>
  A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRolePolicyList(java.util.Collection)} or {@link #withRolePolicyList(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param rolePolicyList
  A list of inline policies embedded in the role. These policies are the role's access (permissions)
  policies.
  @return Returns a reference to this object so that method calls can be chained together.