docs: public ResourcePendingMaintenanceActions withPendingMaintenanceActionDetails(PendingMaintenanceAction... pendingMaintenanceActionDetails) {
          if (this.pendingMaintenanceActionDetails == null) {
              setPendingMaintenanceActionDetails(new com.amazonaws.internal.SdkInternalList<PendingMaintenanceAction>(pendingMaintenanceActionDetails.length));
          }
          for (PendingMaintenanceAction ele : pendingMaintenanceActionDetails) {
              this.pendingMaintenanceActionDetails.add(ele);
          }
          return this;
      }