2525 AWSAccount .JSON_PROPERTY_ACCOUNT_SPECIFIC_NAMESPACE_RULES ,
2626 AWSAccount .JSON_PROPERTY_CSPM_RESOURCE_COLLECTION_ENABLED ,
2727 AWSAccount .JSON_PROPERTY_EXCLUDED_REGIONS ,
28+ AWSAccount .JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED ,
2829 AWSAccount .JSON_PROPERTY_FILTER_TAGS ,
2930 AWSAccount .JSON_PROPERTY_HOST_TAGS ,
3031 AWSAccount .JSON_PROPERTY_METRICS_COLLECTION_ENABLED ,
@@ -53,6 +54,10 @@ public class AWSAccount {
5354 public static final String JSON_PROPERTY_EXCLUDED_REGIONS = "excluded_regions" ;
5455 private List <String > excludedRegions = null ;
5556
57+ public static final String JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED =
58+ "extended_resource_collection_enabled" ;
59+ private Boolean extendedResourceCollectionEnabled = false ;
60+
5661 public static final String JSON_PROPERTY_FILTER_TAGS = "filter_tags" ;
5762 private List <String > filterTags = null ;
5863
@@ -201,6 +206,28 @@ public void setExcludedRegions(List<String> excludedRegions) {
201206 this .excludedRegions = excludedRegions ;
202207 }
203208
209+ public AWSAccount extendedResourceCollectionEnabled (Boolean extendedResourceCollectionEnabled ) {
210+ this .extendedResourceCollectionEnabled = extendedResourceCollectionEnabled ;
211+ return this ;
212+ }
213+
214+ /**
215+ * Whether Datadog collects additional attributes and configuration information about the
216+ * resources in your AWS account. Required for <code>cspm_resource_collection</code>.
217+ *
218+ * @return extendedResourceCollectionEnabled
219+ */
220+ @ jakarta .annotation .Nullable
221+ @ JsonProperty (JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED )
222+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
223+ public Boolean getExtendedResourceCollectionEnabled () {
224+ return extendedResourceCollectionEnabled ;
225+ }
226+
227+ public void setExtendedResourceCollectionEnabled (Boolean extendedResourceCollectionEnabled ) {
228+ this .extendedResourceCollectionEnabled = extendedResourceCollectionEnabled ;
229+ }
230+
204231 public AWSAccount filterTags (List <String > filterTags ) {
205232 this .filterTags = filterTags ;
206233 return this ;
@@ -292,17 +319,21 @@ public AWSAccount resourceCollectionEnabled(Boolean resourceCollectionEnabled) {
292319 }
293320
294321 /**
295- * Whether Datadog collects a standard set of resources from your AWS account.
322+ * Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a
323+ * standard set of resources from your AWS account.
296324 *
297325 * @return resourceCollectionEnabled
326+ * @deprecated
298327 */
328+ @ Deprecated
299329 @ jakarta .annotation .Nullable
300330 @ JsonProperty (JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED )
301331 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
302332 public Boolean getResourceCollectionEnabled () {
303333 return resourceCollectionEnabled ;
304334 }
305335
336+ @ Deprecated
306337 public void setResourceCollectionEnabled (Boolean resourceCollectionEnabled ) {
307338 this .resourceCollectionEnabled = resourceCollectionEnabled ;
308339 }
@@ -412,6 +443,8 @@ public boolean equals(Object o) {
412443 && Objects .equals (
413444 this .cspmResourceCollectionEnabled , awsAccount .cspmResourceCollectionEnabled )
414445 && Objects .equals (this .excludedRegions , awsAccount .excludedRegions )
446+ && Objects .equals (
447+ this .extendedResourceCollectionEnabled , awsAccount .extendedResourceCollectionEnabled )
415448 && Objects .equals (this .filterTags , awsAccount .filterTags )
416449 && Objects .equals (this .hostTags , awsAccount .hostTags )
417450 && Objects .equals (this .metricsCollectionEnabled , awsAccount .metricsCollectionEnabled )
@@ -429,6 +462,7 @@ public int hashCode() {
429462 accountSpecificNamespaceRules ,
430463 cspmResourceCollectionEnabled ,
431464 excludedRegions ,
465+ extendedResourceCollectionEnabled ,
432466 filterTags ,
433467 hostTags ,
434468 metricsCollectionEnabled ,
@@ -451,6 +485,9 @@ public String toString() {
451485 .append (toIndentedString (cspmResourceCollectionEnabled ))
452486 .append ("\n " );
453487 sb .append (" excludedRegions: " ).append (toIndentedString (excludedRegions )).append ("\n " );
488+ sb .append (" extendedResourceCollectionEnabled: " )
489+ .append (toIndentedString (extendedResourceCollectionEnabled ))
490+ .append ("\n " );
454491 sb .append (" filterTags: " ).append (toIndentedString (filterTags )).append ("\n " );
455492 sb .append (" hostTags: " ).append (toIndentedString (hostTags )).append ("\n " );
456493 sb .append (" metricsCollectionEnabled: " )
0 commit comments