public PendingDelete(Index index,Settings settings){
  this.index=index.getName();
  this.shardId=-1;
  this.settings=settings;
  this.deleteIndex=true;
}

public PendingDelete ( Index index , Settings settings ) { this . index = index . getName ( ) ; this . shardId = - 1 ; this . settings = settings ; this . deleteIndex = true ; }
creates a new pending delete of a shard
