Code example for ImmutableMultimap.Builder

Methods: build, put

0
   public <R extends HttpRequest> R bindToRequest(R request, Object input) {
      checkArgument(checkNotNull(input, "input") instanceof UserIdGroupPair,
            "this binder is only valid for UserIdGroupPair!"); 
      UserIdGroupPair pair = (UserIdGroupPair) input;
      Builder<String, String> builder = ImmutableMultimap.builder();
      builder.put("SourceSecurityGroupOwnerId", pair.getUserId());
      builder.put("SourceSecurityGroupName", pair.getGroupName());
      return (R) request.toBuilder().replaceFormParams(builder.build()).build();
   } 
} 
Connect your IDE to all the code out there  Get Codota for Java