docs: 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;
      }