Skip to content

Commit 8aab176

Browse files
dd-octo-sts[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 32bb285 of spec repo (#4495)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent c6da160 commit 8aab176

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4202,6 +4202,10 @@ components:
42024202
description: Enable custom metrics collection. Defaults to `false`.
42034203
example: false
42044204
type: boolean
4205+
collect_service_quotas:
4206+
description: Enable Service Quotas collection. Defaults to `false`.
4207+
example: false
4208+
type: boolean
42054209
enabled:
42064210
description: Enable AWS metrics collection. Defaults to `true`.
42074211
example: true
@@ -184870,6 +184874,7 @@ paths:
184870184874
automute_enabled: true
184871184875
collect_cloudwatch_alarms: false
184872184876
collect_custom_metrics: false
184877+
collect_service_quotas: false
184873184878
enabled: true
184874184879
metric_name_filters:
184875184880
- include_only:
@@ -185012,6 +185017,7 @@ paths:
185012185017
automute_enabled: true
185013185018
collect_cloudwatch_alarms: false
185014185019
collect_custom_metrics: false
185020+
collect_service_quotas: false
185015185021
enabled: true
185016185022
metric_name_filters:
185017185023
- include_only:

‎src/main/java/com/datadog/api/client/v2/model/AWSMetricsConfig.java‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
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

Comments
 (0)