code: public void setRolePolicyList(java.util.Collection<PolicyDetail> rolePolicyList) {
          if (rolePolicyList == null) {
              this.rolePolicyList = null;
              return;
          }
  
          this.rolePolicyList = new com.amazonaws.internal.SdkInternalList<PolicyDetail>(rolePolicyList);
      }
docs: <p>
  A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
  </p>
  
  @param rolePolicyList
  A list of inline policies embedded in the role. These policies are the role's access (permissions)
  policies.