Code example for Supplier

Methods: get

0
 
   public SpotInstanceRequest getResult() { 
      try { 
         String region = getRequest() != null ? AWSUtils.findRegionInArgsOrNull(getRequest()) : null;
         if (region == null)
            region = defaultRegion.get();
         return builder.region(region).build();
      } finally { 
         builder.clear();
      } 
   } 
 
   @Override 
   public void startElement(String uri, String name, String qName, Attributes attrs) throws SAXException {
      if (equalsOrSuffix(qName, "launchSpecification")) {
         inLaunchSpecification = true;
      } else if (equalsOrSuffix(qName, "tagSet")) {
         inTagSet = true;
      } 
      if (inLaunchSpecification) {