Code example for Supplier

Methods: get

0
            previousState = InstanceState.fromValue(currentOrNull());
         } 
      } else if (qName.equals("item")) {
         String region = AWSUtils.findRegionInArgsOrNull(getRequest());
         if (region == null)
            region = defaultRegion.get();
         instances.add(new InstanceStateChange(region, instanceId, shutdownState, previousState));
         this.instanceId = null;
         this.shutdownState = null;
         this.previousState = null;
      } 
 
      currentText.setLength(0);
   } 
 
   public void characters(char ch[], int start, int length) {
      currentText.append(ch, start, length);
   } 
 
   protected String currentOrNull() {