package example;

import com.amazonaws.services.lambda.runtime.Context;

public class Hello {

    public static class EventClass {
        String key1;
        String key2;
        String key3;

        public String getKey1() {
            return key1;
        }

        public String getKey2() {
            return key2;
        }

        public String getKey3() {
            return key3;
        }

        public void setKey1(String key1) {
            this.key1 = key1;
        }

        public void setKey2(String key2) {
            this.key2 = key2;
        }

        public void setKey3(String key3) {
            this.key3 = key3;
        }

        public EventClass(String key1, String key2, String key3) {
            this.key1 = key1;
            this.key2 = key2;
            this.key3 = key3;
        }

        public EventClass() {}
    }

    public String handler(EventClass event, Context context) {
        System.out.println("value1 = " + event.key1);
        System.out.println("value2 = " + event.key2);
        System.out.println("value3 = " + event.key3);
        return String.format(event.key1);
    }

}
@@ -149,50 +149,8 @@
 ey1;
-%0A        String key2;%0A        String key3;
 %0A%0A  
@@ -236,815 +236,259 @@
 lic 
-String getKey2() %7B%0A            return key2;%0A        %7D%0A%0A        public String getKey3() %7B%0A            return key3;%0A        %7D%0A%0A        public void setKey1(String key1) %7B%0A            this.key1 = key1;%0A        %7D%0A%0A        public void setKey2(String key2) %7B%0A            this.key2 = key2;%0A        %7D%0A%0A        public void setKey3(String key3) %7B%0A            this.key3 = key3;%0A        %7D%0A%0A        public EventClass(String key1, String key2, String key3) %7B%0A            this.key1 = key1;%0A            this.key2 = key2;%0A            this.key3 = key3;%0A        %7D%0A%0A        public EventClass() %7B%7D%0A    %7D%0A%0A    public String handler(EventClass event, Context context) %7B%0A        System.out.println(%22value1 = %22 + event.key1);%0A        System.out.println(%22value2 = %22 + event.key2);%0A        System.out.println(%22value3 = %22 + event.key3);
+void setKey1(String key1) %7B%0A            this.key1 = key1;%0A        %7D%0A%0A        public EventClass(String key1) %7B%0A            this.key1 = key1;%0A        %7D%0A%0A        public EventClass() %7B%7D%0A    %7D%0A%0A    public String handler(EventClass event, Context context) %7B
 %0A   
@@ -534,8 +534,9 @@
     %7D%0A%0A%7D
+%0A

Fix javaexample code