2323 AWSMetricsConfig .JSON_PROPERTY_AUTOMUTE_ENABLED ,
2424 AWSMetricsConfig .JSON_PROPERTY_COLLECT_CLOUDWATCH_ALARMS ,
2525 AWSMetricsConfig .JSON_PROPERTY_COLLECT_CUSTOM_METRICS ,
26+ AWSMetricsConfig .JSON_PROPERTY_COLLECT_SERVICE_QUOTAS ,
2627 AWSMetricsConfig .JSON_PROPERTY_ENABLED ,
2728 AWSMetricsConfig .JSON_PROPERTY_METRIC_NAME_FILTERS ,
2829 AWSMetricsConfig .JSON_PROPERTY_NAMESPACE_FILTERS ,
@@ -41,6 +42,9 @@ public class AWSMetricsConfig {
4142 public static final String JSON_PROPERTY_COLLECT_CUSTOM_METRICS = "collect_custom_metrics" ;
4243 private Boolean collectCustomMetrics ;
4344
45+ public static final String JSON_PROPERTY_COLLECT_SERVICE_QUOTAS = "collect_service_quotas" ;
46+ private Boolean collectServiceQuotas ;
47+
4448 public static final String JSON_PROPERTY_ENABLED = "enabled" ;
4549 private Boolean enabled ;
4650
@@ -116,6 +120,27 @@ public void setCollectCustomMetrics(Boolean collectCustomMetrics) {
116120 this .collectCustomMetrics = collectCustomMetrics ;
117121 }
118122
123+ public AWSMetricsConfig collectServiceQuotas (Boolean collectServiceQuotas ) {
124+ this .collectServiceQuotas = collectServiceQuotas ;
125+ return this ;
126+ }
127+
128+ /**
129+ * Enable Service Quotas collection. Defaults to <code>false</code>.
130+ *
131+ * @return collectServiceQuotas
132+ */
133+ @ jakarta .annotation .Nullable
134+ @ JsonProperty (JSON_PROPERTY_COLLECT_SERVICE_QUOTAS )
135+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
136+ public Boolean getCollectServiceQuotas () {
137+ return collectServiceQuotas ;
138+ }
139+
140+ public void setCollectServiceQuotas (Boolean collectServiceQuotas ) {
141+ this .collectServiceQuotas = collectServiceQuotas ;
142+ }
143+
119144 public AWSMetricsConfig enabled (Boolean enabled ) {
120145 this .enabled = enabled ;
121146 return this ;
@@ -302,6 +327,7 @@ public boolean equals(Object o) {
302327 return Objects .equals (this .automuteEnabled , awsMetricsConfig .automuteEnabled )
303328 && Objects .equals (this .collectCloudwatchAlarms , awsMetricsConfig .collectCloudwatchAlarms )
304329 && Objects .equals (this .collectCustomMetrics , awsMetricsConfig .collectCustomMetrics )
330+ && Objects .equals (this .collectServiceQuotas , awsMetricsConfig .collectServiceQuotas )
305331 && Objects .equals (this .enabled , awsMetricsConfig .enabled )
306332 && Objects .equals (this .metricNameFilters , awsMetricsConfig .metricNameFilters )
307333 && Objects .equals (this .namespaceFilters , awsMetricsConfig .namespaceFilters )
@@ -315,6 +341,7 @@ public int hashCode() {
315341 automuteEnabled ,
316342 collectCloudwatchAlarms ,
317343 collectCustomMetrics ,
344+ collectServiceQuotas ,
318345 enabled ,
319346 metricNameFilters ,
320347 namespaceFilters ,
@@ -333,6 +360,9 @@ public String toString() {
333360 sb .append (" collectCustomMetrics: " )
334361 .append (toIndentedString (collectCustomMetrics ))
335362 .append ("\n " );
363+ sb .append (" collectServiceQuotas: " )
364+ .append (toIndentedString (collectServiceQuotas ))
365+ .append ("\n " );
336366 sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
337367 sb .append (" metricNameFilters: " ).append (toIndentedString (metricNameFilters )).append ("\n " );
338368 sb .append (" namespaceFilters: " ).append (toIndentedString (namespaceFilters )).append ("\n " );
0 commit comments