Code example for Supplier

Methods: get

0
 
   @Override 
   public HandlerForGeneratedRequestWithResult<SecurityGroup> setContext(HttpRequest request) {
      region = AWSUtils.findRegionInArgsOrNull(GeneratedHttpRequest.class.cast(request));
      if (region == null)
         region = defaultRegion.get();
      builder = builder(); 
      return super.setContext(request);
   } 
 
   /** 
    * {@inheritDoc} 
    */ 
   @Override 
   public SecurityGroup getResult() { 
      try { 
         return builder.build(); 
      } finally { 
         builder = builder(); 
      } 
Experience pair programming with AI  Get Codota for Java