Skip to content

Commit 846e242

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0cb6f32 of spec repo
1 parent a92dd71 commit 846e242

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45830,6 +45830,13 @@ components:
4583045830
description: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
4583145831
example: splunk-hec-source
4583245832
type: string
45833+
store_hec_token:
45834+
default: false
45835+
description: |-
45836+
If `true`, the HEC token is stored in the event's metadata and made available to the Enrichment Table
45837+
processor and the `splunk_hec` destination for routing or enrichment based on the token. Defaults to `false`.
45838+
example: true
45839+
type: boolean
4583345840
tls:
4583445841
$ref: "#/components/schemas/ObservabilityPipelineTls"
4583545842
type:

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineSplunkHecSource.java

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
@JsonPropertyOrder({
2626
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_ADDRESS_KEY,
2727
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_ID,
28+
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_STORE_HEC_TOKEN,
2829
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_TLS,
2930
ObservabilityPipelineSplunkHecSource.JSON_PROPERTY_TYPE
3031
})
@@ -38,6 +39,9 @@ public class ObservabilityPipelineSplunkHecSource {
3839
public static final String JSON_PROPERTY_ID = "id";
3940
private String id;
4041

42+
public static final String JSON_PROPERTY_STORE_HEC_TOKEN = "store_hec_token";
43+
private Boolean storeHecToken = false;
44+
4145
public static final String JSON_PROPERTY_TLS = "tls";
4246
private ObservabilityPipelineTls tls;
4347

@@ -99,6 +103,29 @@ public void setId(String id) {
99103
this.id = id;
100104
}
101105

106+
public ObservabilityPipelineSplunkHecSource storeHecToken(Boolean storeHecToken) {
107+
this.storeHecToken = storeHecToken;
108+
return this;
109+
}
110+
111+
/**
112+
* If <code>true</code>, the HEC token is stored in the event's metadata and made available to the
113+
* Enrichment Table processor and the <code>splunk_hec</code> destination for routing or
114+
* enrichment based on the token. Defaults to <code>false</code>.
115+
*
116+
* @return storeHecToken
117+
*/
118+
@jakarta.annotation.Nullable
119+
@JsonProperty(JSON_PROPERTY_STORE_HEC_TOKEN)
120+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
121+
public Boolean getStoreHecToken() {
122+
return storeHecToken;
123+
}
124+
125+
public void setStoreHecToken(Boolean storeHecToken) {
126+
this.storeHecToken = storeHecToken;
127+
}
128+
102129
public ObservabilityPipelineSplunkHecSource tls(ObservabilityPipelineTls tls) {
103130
this.tls = tls;
104131
this.unparsed |= tls.unparsed;
@@ -204,6 +231,7 @@ public boolean equals(Object o) {
204231
(ObservabilityPipelineSplunkHecSource) o;
205232
return Objects.equals(this.addressKey, observabilityPipelineSplunkHecSource.addressKey)
206233
&& Objects.equals(this.id, observabilityPipelineSplunkHecSource.id)
234+
&& Objects.equals(this.storeHecToken, observabilityPipelineSplunkHecSource.storeHecToken)
207235
&& Objects.equals(this.tls, observabilityPipelineSplunkHecSource.tls)
208236
&& Objects.equals(this.type, observabilityPipelineSplunkHecSource.type)
209237
&& Objects.equals(
@@ -212,7 +240,7 @@ public boolean equals(Object o) {
212240

213241
@Override
214242
public int hashCode() {
215-
return Objects.hash(addressKey, id, tls, type, additionalProperties);
243+
return Objects.hash(addressKey, id, storeHecToken, tls, type, additionalProperties);
216244
}
217245

218246
@Override
@@ -221,6 +249,7 @@ public String toString() {
221249
sb.append("class ObservabilityPipelineSplunkHecSource {\n");
222250
sb.append(" addressKey: ").append(toIndentedString(addressKey)).append("\n");
223251
sb.append(" id: ").append(toIndentedString(id)).append("\n");
252+
sb.append(" storeHecToken: ").append(toIndentedString(storeHecToken)).append("\n");
224253
sb.append(" tls: ").append(toIndentedString(tls)).append("\n");
225254
sb.append(" type: ").append(toIndentedString(type)).append("\n");
226255
sb.append(" additionalProperties: ")

0 commit comments

Comments
 (0)