1919
2020/** Attributes for the AWS scan options to create. */
2121@ JsonPropertyOrder ({
22+ AwsScanOptionsCreateAttributes .JSON_PROPERTY_COMPLIANCE_HOST ,
2223 AwsScanOptionsCreateAttributes .JSON_PROPERTY_LAMBDA ,
2324 AwsScanOptionsCreateAttributes .JSON_PROPERTY_SENSITIVE_DATA ,
2425 AwsScanOptionsCreateAttributes .JSON_PROPERTY_VULN_CONTAINERS_OS ,
2829 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
2930public class AwsScanOptionsCreateAttributes {
3031 @ JsonIgnore public boolean unparsed = false ;
32+ public static final String JSON_PROPERTY_COMPLIANCE_HOST = "compliance_host" ;
33+ private Boolean complianceHost ;
34+
3135 public static final String JSON_PROPERTY_LAMBDA = "lambda" ;
3236 private Boolean lambda ;
3337
@@ -44,17 +48,39 @@ public AwsScanOptionsCreateAttributes() {}
4448
4549 @ JsonCreator
4650 public AwsScanOptionsCreateAttributes (
51+ @ JsonProperty (required = true , value = JSON_PROPERTY_COMPLIANCE_HOST ) Boolean complianceHost ,
4752 @ JsonProperty (required = true , value = JSON_PROPERTY_LAMBDA ) Boolean lambda ,
4853 @ JsonProperty (required = true , value = JSON_PROPERTY_SENSITIVE_DATA ) Boolean sensitiveData ,
4954 @ JsonProperty (required = true , value = JSON_PROPERTY_VULN_CONTAINERS_OS )
5055 Boolean vulnContainersOs ,
5156 @ JsonProperty (required = true , value = JSON_PROPERTY_VULN_HOST_OS ) Boolean vulnHostOs ) {
57+ this .complianceHost = complianceHost ;
5258 this .lambda = lambda ;
5359 this .sensitiveData = sensitiveData ;
5460 this .vulnContainersOs = vulnContainersOs ;
5561 this .vulnHostOs = vulnHostOs ;
5662 }
5763
64+ public AwsScanOptionsCreateAttributes complianceHost (Boolean complianceHost ) {
65+ this .complianceHost = complianceHost ;
66+ return this ;
67+ }
68+
69+ /**
70+ * Indicates whether host compliance scanning is enabled.
71+ *
72+ * @return complianceHost
73+ */
74+ @ JsonProperty (JSON_PROPERTY_COMPLIANCE_HOST )
75+ @ JsonInclude (value = JsonInclude .Include .ALWAYS )
76+ public Boolean getComplianceHost () {
77+ return complianceHost ;
78+ }
79+
80+ public void setComplianceHost (Boolean complianceHost ) {
81+ this .complianceHost = complianceHost ;
82+ }
83+
5884 public AwsScanOptionsCreateAttributes lambda (Boolean lambda ) {
5985 this .lambda = lambda ;
6086 return this ;
@@ -192,7 +218,8 @@ public boolean equals(Object o) {
192218 }
193219 AwsScanOptionsCreateAttributes awsScanOptionsCreateAttributes =
194220 (AwsScanOptionsCreateAttributes ) o ;
195- return Objects .equals (this .lambda , awsScanOptionsCreateAttributes .lambda )
221+ return Objects .equals (this .complianceHost , awsScanOptionsCreateAttributes .complianceHost )
222+ && Objects .equals (this .lambda , awsScanOptionsCreateAttributes .lambda )
196223 && Objects .equals (this .sensitiveData , awsScanOptionsCreateAttributes .sensitiveData )
197224 && Objects .equals (this .vulnContainersOs , awsScanOptionsCreateAttributes .vulnContainersOs )
198225 && Objects .equals (this .vulnHostOs , awsScanOptionsCreateAttributes .vulnHostOs )
@@ -202,13 +229,15 @@ public boolean equals(Object o) {
202229
203230 @ Override
204231 public int hashCode () {
205- return Objects .hash (lambda , sensitiveData , vulnContainersOs , vulnHostOs , additionalProperties );
232+ return Objects .hash (
233+ complianceHost , lambda , sensitiveData , vulnContainersOs , vulnHostOs , additionalProperties );
206234 }
207235
208236 @ Override
209237 public String toString () {
210238 StringBuilder sb = new StringBuilder ();
211239 sb .append ("class AwsScanOptionsCreateAttributes {\n " );
240+ sb .append (" complianceHost: " ).append (toIndentedString (complianceHost )).append ("\n " );
212241 sb .append (" lambda: " ).append (toIndentedString (lambda )).append ("\n " );
213242 sb .append (" sensitiveData: " ).append (toIndentedString (sensitiveData )).append ("\n " );
214243 sb .append (" vulnContainersOs: " ).append (toIndentedString (vulnContainersOs )).append ("\n " );
0 commit comments