Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64633,6 +64633,9 @@ components:
description: The ID of a component whose output is used as input for this destination.
type: string
type: array
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
description: Configuration for TLS encryption.
type:
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
ObservabilityPipelineCloudPremDestination.JSON_PROPERTY_ENDPOINT_URL_KEY,
ObservabilityPipelineCloudPremDestination.JSON_PROPERTY_ID,
ObservabilityPipelineCloudPremDestination.JSON_PROPERTY_INPUTS,
ObservabilityPipelineCloudPremDestination.JSON_PROPERTY_TLS,
ObservabilityPipelineCloudPremDestination.JSON_PROPERTY_TYPE
})
@jakarta.annotation.Generated(
Expand All @@ -47,6 +48,9 @@ public class ObservabilityPipelineCloudPremDestination {
public static final String JSON_PROPERTY_INPUTS = "inputs";
private List<String> inputs = new ArrayList<>();

public static final String JSON_PROPERTY_TLS = "tls";
private ObservabilityPipelineTls tls;

public static final String JSON_PROPERTY_TYPE = "type";
private ObservabilityPipelineCloudPremDestinationType type =
ObservabilityPipelineCloudPremDestinationType.CLOUD_PREM;
Expand Down Expand Up @@ -154,6 +158,28 @@ public void setInputs(List<String> inputs) {
this.inputs = inputs;
}

public ObservabilityPipelineCloudPremDestination tls(ObservabilityPipelineTls tls) {
this.tls = tls;
this.unparsed |= tls.unparsed;
return this;
}

/**
* Configuration for enabling TLS encryption between the pipeline component and external services.
*
* @return tls
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TLS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineTls getTls() {
return tls;
}

public void setTls(ObservabilityPipelineTls tls) {
this.tls = tls;
}

public ObservabilityPipelineCloudPremDestination type(
ObservabilityPipelineCloudPremDestinationType type) {
this.type = type;
Expand Down Expand Up @@ -241,6 +267,7 @@ public boolean equals(Object o) {
this.endpointUrlKey, observabilityPipelineCloudPremDestination.endpointUrlKey)
&& Objects.equals(this.id, observabilityPipelineCloudPremDestination.id)
&& Objects.equals(this.inputs, observabilityPipelineCloudPremDestination.inputs)
&& Objects.equals(this.tls, observabilityPipelineCloudPremDestination.tls)
&& Objects.equals(this.type, observabilityPipelineCloudPremDestination.type)
&& Objects.equals(
this.additionalProperties,
Expand All @@ -249,7 +276,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(buffer, endpointUrlKey, id, inputs, type, additionalProperties);
return Objects.hash(buffer, endpointUrlKey, id, inputs, tls, type, additionalProperties);
}

@Override
Expand All @@ -260,6 +287,7 @@ public String toString() {
sb.append(" endpointUrlKey: ").append(toIndentedString(endpointUrlKey)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");
sb.append(" tls: ").append(toIndentedString(tls)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
Expand Down
Loading