2525 */
2626@ JsonPropertyOrder ({
2727 AWSLambdaForwarderConfig .JSON_PROPERTY_LAMBDAS ,
28+ AWSLambdaForwarderConfig .JSON_PROPERTY_LOG_SOURCE_CONFIG ,
2829 AWSLambdaForwarderConfig .JSON_PROPERTY_SOURCES
2930})
3031@ jakarta .annotation .Generated (
@@ -34,6 +35,9 @@ public class AWSLambdaForwarderConfig {
3435 public static final String JSON_PROPERTY_LAMBDAS = "lambdas" ;
3536 private List <String > lambdas = null ;
3637
38+ public static final String JSON_PROPERTY_LOG_SOURCE_CONFIG = "log_source_config" ;
39+ private AWSLambdaForwarderConfigLogSourceConfig logSourceConfig ;
40+
3741 public static final String JSON_PROPERTY_SOURCES = "sources" ;
3842 private List <String > sources = null ;
3943
@@ -66,6 +70,29 @@ public void setLambdas(List<String> lambdas) {
6670 this .lambdas = lambdas ;
6771 }
6872
73+ public AWSLambdaForwarderConfig logSourceConfig (
74+ AWSLambdaForwarderConfigLogSourceConfig logSourceConfig ) {
75+ this .logSourceConfig = logSourceConfig ;
76+ this .unparsed |= logSourceConfig .unparsed ;
77+ return this ;
78+ }
79+
80+ /**
81+ * Log source configuration.
82+ *
83+ * @return logSourceConfig
84+ */
85+ @ jakarta .annotation .Nullable
86+ @ JsonProperty (JSON_PROPERTY_LOG_SOURCE_CONFIG )
87+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
88+ public AWSLambdaForwarderConfigLogSourceConfig getLogSourceConfig () {
89+ return logSourceConfig ;
90+ }
91+
92+ public void setLogSourceConfig (AWSLambdaForwarderConfigLogSourceConfig logSourceConfig ) {
93+ this .logSourceConfig = logSourceConfig ;
94+ }
95+
6996 public AWSLambdaForwarderConfig sources (List <String > sources ) {
7097 this .sources = sources ;
7198 return this ;
@@ -155,20 +182,22 @@ public boolean equals(Object o) {
155182 }
156183 AWSLambdaForwarderConfig awsLambdaForwarderConfig = (AWSLambdaForwarderConfig ) o ;
157184 return Objects .equals (this .lambdas , awsLambdaForwarderConfig .lambdas )
185+ && Objects .equals (this .logSourceConfig , awsLambdaForwarderConfig .logSourceConfig )
158186 && Objects .equals (this .sources , awsLambdaForwarderConfig .sources )
159187 && Objects .equals (this .additionalProperties , awsLambdaForwarderConfig .additionalProperties );
160188 }
161189
162190 @ Override
163191 public int hashCode () {
164- return Objects .hash (lambdas , sources , additionalProperties );
192+ return Objects .hash (lambdas , logSourceConfig , sources , additionalProperties );
165193 }
166194
167195 @ Override
168196 public String toString () {
169197 StringBuilder sb = new StringBuilder ();
170198 sb .append ("class AWSLambdaForwarderConfig {\n " );
171199 sb .append (" lambdas: " ).append (toIndentedString (lambdas )).append ("\n " );
200+ sb .append (" logSourceConfig: " ).append (toIndentedString (logSourceConfig )).append ("\n " );
172201 sb .append (" sources: " ).append (toIndentedString (sources )).append ("\n " );
173202 sb .append (" additionalProperties: " )
174203 .append (toIndentedString (additionalProperties ))
0 commit comments