Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSyslogNgDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSyslogNgDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSyslogNgDestination
extends Object
The
syslog_ng destination forwards logs to an external syslog-ng server
over TCP or UDP using the syslog protocol.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineSyslogNgDestination(String id, List<String> inputs, ObservabilityPipelineSyslogNgDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineSyslogNgDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for buffer settings on destination components.Name of the environment variable or secret that holds the syslog-ng server endpoint URL.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.Optional socket keepalive duration in milliseconds.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidsetKeepalive(Long keepalive) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_KEEPALIVE
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSyslogNgDestination
public ObservabilityPipelineSyslogNgDestination() -
ObservabilityPipelineSyslogNgDestination
public ObservabilityPipelineSyslogNgDestination(String id, List<String> inputs, ObservabilityPipelineSyslogNgDestinationType type)
-
-
Method Details
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the syslog-ng server endpoint URL.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
keepalive
-
getKeepalive
Optional socket keepalive duration in milliseconds. minimum: 0- Returns:
- keepalive
-
setKeepalive
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
type
-
getType
The destination type. The value should always besyslog_ng.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelineSyslogNgDestination
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ObservabilityPipelineSyslogNgDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-