code: public GetAccountAuthorizationDetailsResult withRoleDetailList(RoleDetail... roleDetailList) {
          if (this.roleDetailList == null) {
              setRoleDetailList(new com.amazonaws.internal.SdkInternalList<RoleDetail>(roleDetailList.length));
          }
          for (RoleDetail ele : roleDetailList) {
              this.roleDetailList.add(ele);
          }
          return this;
      }
docs: <p>
  A list containing information about IAM roles.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRoleDetailList(java.util.Collection)} or {@link #withRoleDetailList(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param roleDetailList
  A list containing information about IAM roles.
  @return Returns a reference to this object so that method calls can be chained together.