Skip to content

Commit 37d5e4d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c9d1641 of spec repo
1 parent 7983bca commit 37d5e4d

2 files changed

Lines changed: 51 additions & 53 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49436,9 +49436,9 @@ components:
4943649436
description: The unique identifier for this component.
4943749437
example: databricks-zerobus-destination
4943849438
type: string
49439-
ingestion_endpoint:
49440-
description: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
49441-
example: https://my-workspace-id.zerobus.us-east-1.cloud.databricks.com
49439+
ingestion_endpoint_key:
49440+
description: Name of the environment variable or secret that holds the Databricks Zerobus ingestion endpoint used to stream data directly into your Databricks Lakehouse.
49441+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_INGESTION_ENDPOINT
4944249442
type: string
4944349443
inputs:
4944449444
description: A list of component IDs whose output is used as the `input` for this component.
@@ -49453,17 +49453,15 @@ components:
4945349453
type: string
4945449454
type:
4945549455
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationType"
49456-
unity_catalog_endpoint:
49457-
description: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
49458-
example: https://my-workspace.cloud.databricks.com
49456+
unity_catalog_endpoint_key:
49457+
description: Name of the environment variable or secret that holds your Databricks workspace URL, used to communicate with the Unity Catalog API.
49458+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_UNITY_CATALOG_ENDPOINT
4945949459
type: string
4946049460
required:
4946149461
- id
4946249462
- type
4946349463
- inputs
49464-
- ingestion_endpoint
4946549464
- table_name
49466-
- unity_catalog_endpoint
4946749465
- auth
4946849466
type: object
4946949467
x-pipeline-types: [logs, rehydration]

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

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_AUTH,
3030
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_BUFFER,
3131
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_ID,
32-
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_INGESTION_ENDPOINT,
32+
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_INGESTION_ENDPOINT_KEY,
3333
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_INPUTS,
3434
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_TABLE_NAME,
3535
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_TYPE,
36-
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_UNITY_CATALOG_ENDPOINT
36+
ObservabilityPipelineDatabricksZerobusDestination.JSON_PROPERTY_UNITY_CATALOG_ENDPOINT_KEY
3737
})
3838
@jakarta.annotation.Generated(
3939
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -48,8 +48,8 @@ public class ObservabilityPipelineDatabricksZerobusDestination {
4848
public static final String JSON_PROPERTY_ID = "id";
4949
private String id;
5050

51-
public static final String JSON_PROPERTY_INGESTION_ENDPOINT = "ingestion_endpoint";
52-
private String ingestionEndpoint;
51+
public static final String JSON_PROPERTY_INGESTION_ENDPOINT_KEY = "ingestion_endpoint_key";
52+
private String ingestionEndpointKey;
5353

5454
public static final String JSON_PROPERTY_INPUTS = "inputs";
5555
private List<String> inputs = new ArrayList<>();
@@ -61,8 +61,9 @@ public class ObservabilityPipelineDatabricksZerobusDestination {
6161
private ObservabilityPipelineDatabricksZerobusDestinationType type =
6262
ObservabilityPipelineDatabricksZerobusDestinationType.DATABRICKS_ZEROBUS;
6363

64-
public static final String JSON_PROPERTY_UNITY_CATALOG_ENDPOINT = "unity_catalog_endpoint";
65-
private String unityCatalogEndpoint;
64+
public static final String JSON_PROPERTY_UNITY_CATALOG_ENDPOINT_KEY =
65+
"unity_catalog_endpoint_key";
66+
private String unityCatalogEndpointKey;
6667

6768
public ObservabilityPipelineDatabricksZerobusDestination() {}
6869

@@ -71,23 +72,17 @@ public ObservabilityPipelineDatabricksZerobusDestination(
7172
@JsonProperty(required = true, value = JSON_PROPERTY_AUTH)
7273
ObservabilityPipelineDatabricksZerobusDestinationAuth auth,
7374
@JsonProperty(required = true, value = JSON_PROPERTY_ID) String id,
74-
@JsonProperty(required = true, value = JSON_PROPERTY_INGESTION_ENDPOINT)
75-
String ingestionEndpoint,
7675
@JsonProperty(required = true, value = JSON_PROPERTY_INPUTS) List<String> inputs,
7776
@JsonProperty(required = true, value = JSON_PROPERTY_TABLE_NAME) String tableName,
7877
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
79-
ObservabilityPipelineDatabricksZerobusDestinationType type,
80-
@JsonProperty(required = true, value = JSON_PROPERTY_UNITY_CATALOG_ENDPOINT)
81-
String unityCatalogEndpoint) {
78+
ObservabilityPipelineDatabricksZerobusDestinationType type) {
8279
this.auth = auth;
8380
this.unparsed |= auth.unparsed;
8481
this.id = id;
85-
this.ingestionEndpoint = ingestionEndpoint;
8682
this.inputs = inputs;
8783
this.tableName = tableName;
8884
this.type = type;
8985
this.unparsed |= !type.isValid();
90-
this.unityCatalogEndpoint = unityCatalogEndpoint;
9186
}
9287

9388
public ObservabilityPipelineDatabricksZerobusDestination auth(
@@ -155,26 +150,27 @@ public void setId(String id) {
155150
this.id = id;
156151
}
157152

158-
public ObservabilityPipelineDatabricksZerobusDestination ingestionEndpoint(
159-
String ingestionEndpoint) {
160-
this.ingestionEndpoint = ingestionEndpoint;
153+
public ObservabilityPipelineDatabricksZerobusDestination ingestionEndpointKey(
154+
String ingestionEndpointKey) {
155+
this.ingestionEndpointKey = ingestionEndpointKey;
161156
return this;
162157
}
163158

164159
/**
165-
* Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly
166-
* into your Databricks Lakehouse.
160+
* Name of the environment variable or secret that holds the Databricks Zerobus ingestion endpoint
161+
* used to stream data directly into your Databricks Lakehouse.
167162
*
168-
* @return ingestionEndpoint
163+
* @return ingestionEndpointKey
169164
*/
170-
@JsonProperty(JSON_PROPERTY_INGESTION_ENDPOINT)
171-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
172-
public String getIngestionEndpoint() {
173-
return ingestionEndpoint;
165+
@jakarta.annotation.Nullable
166+
@JsonProperty(JSON_PROPERTY_INGESTION_ENDPOINT_KEY)
167+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
168+
public String getIngestionEndpointKey() {
169+
return ingestionEndpointKey;
174170
}
175171

176-
public void setIngestionEndpoint(String ingestionEndpoint) {
177-
this.ingestionEndpoint = ingestionEndpoint;
172+
public void setIngestionEndpointKey(String ingestionEndpointKey) {
173+
this.ingestionEndpointKey = ingestionEndpointKey;
178174
}
179175

180176
public ObservabilityPipelineDatabricksZerobusDestination inputs(List<String> inputs) {
@@ -248,25 +244,27 @@ public void setType(ObservabilityPipelineDatabricksZerobusDestinationType type)
248244
this.type = type;
249245
}
250246

251-
public ObservabilityPipelineDatabricksZerobusDestination unityCatalogEndpoint(
252-
String unityCatalogEndpoint) {
253-
this.unityCatalogEndpoint = unityCatalogEndpoint;
247+
public ObservabilityPipelineDatabricksZerobusDestination unityCatalogEndpointKey(
248+
String unityCatalogEndpointKey) {
249+
this.unityCatalogEndpointKey = unityCatalogEndpointKey;
254250
return this;
255251
}
256252

257253
/**
258-
* Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
254+
* Name of the environment variable or secret that holds your Databricks workspace URL, used to
255+
* communicate with the Unity Catalog API.
259256
*
260-
* @return unityCatalogEndpoint
257+
* @return unityCatalogEndpointKey
261258
*/
262-
@JsonProperty(JSON_PROPERTY_UNITY_CATALOG_ENDPOINT)
263-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
264-
public String getUnityCatalogEndpoint() {
265-
return unityCatalogEndpoint;
259+
@jakarta.annotation.Nullable
260+
@JsonProperty(JSON_PROPERTY_UNITY_CATALOG_ENDPOINT_KEY)
261+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
262+
public String getUnityCatalogEndpointKey() {
263+
return unityCatalogEndpointKey;
266264
}
267265

268-
public void setUnityCatalogEndpoint(String unityCatalogEndpoint) {
269-
this.unityCatalogEndpoint = unityCatalogEndpoint;
266+
public void setUnityCatalogEndpointKey(String unityCatalogEndpointKey) {
267+
this.unityCatalogEndpointKey = unityCatalogEndpointKey;
270268
}
271269

272270
/**
@@ -332,15 +330,15 @@ public boolean equals(Object o) {
332330
&& Objects.equals(this.buffer, observabilityPipelineDatabricksZerobusDestination.buffer)
333331
&& Objects.equals(this.id, observabilityPipelineDatabricksZerobusDestination.id)
334332
&& Objects.equals(
335-
this.ingestionEndpoint,
336-
observabilityPipelineDatabricksZerobusDestination.ingestionEndpoint)
333+
this.ingestionEndpointKey,
334+
observabilityPipelineDatabricksZerobusDestination.ingestionEndpointKey)
337335
&& Objects.equals(this.inputs, observabilityPipelineDatabricksZerobusDestination.inputs)
338336
&& Objects.equals(
339337
this.tableName, observabilityPipelineDatabricksZerobusDestination.tableName)
340338
&& Objects.equals(this.type, observabilityPipelineDatabricksZerobusDestination.type)
341339
&& Objects.equals(
342-
this.unityCatalogEndpoint,
343-
observabilityPipelineDatabricksZerobusDestination.unityCatalogEndpoint)
340+
this.unityCatalogEndpointKey,
341+
observabilityPipelineDatabricksZerobusDestination.unityCatalogEndpointKey)
344342
&& Objects.equals(
345343
this.additionalProperties,
346344
observabilityPipelineDatabricksZerobusDestination.additionalProperties);
@@ -352,11 +350,11 @@ public int hashCode() {
352350
auth,
353351
buffer,
354352
id,
355-
ingestionEndpoint,
353+
ingestionEndpointKey,
356354
inputs,
357355
tableName,
358356
type,
359-
unityCatalogEndpoint,
357+
unityCatalogEndpointKey,
360358
additionalProperties);
361359
}
362360

@@ -367,12 +365,14 @@ public String toString() {
367365
sb.append(" auth: ").append(toIndentedString(auth)).append("\n");
368366
sb.append(" buffer: ").append(toIndentedString(buffer)).append("\n");
369367
sb.append(" id: ").append(toIndentedString(id)).append("\n");
370-
sb.append(" ingestionEndpoint: ").append(toIndentedString(ingestionEndpoint)).append("\n");
368+
sb.append(" ingestionEndpointKey: ")
369+
.append(toIndentedString(ingestionEndpointKey))
370+
.append("\n");
371371
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");
372372
sb.append(" tableName: ").append(toIndentedString(tableName)).append("\n");
373373
sb.append(" type: ").append(toIndentedString(type)).append("\n");
374-
sb.append(" unityCatalogEndpoint: ")
375-
.append(toIndentedString(unityCatalogEndpoint))
374+
sb.append(" unityCatalogEndpointKey: ")
375+
.append(toIndentedString(unityCatalogEndpointKey))
376376
.append("\n");
377377
sb.append(" additionalProperties: ")
378378
.append(toIndentedString(additionalProperties))

0 commit comments

Comments
 (0)