Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSocketDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSocketDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSocketDestination
extends Object
The
socket destination sends logs over TCP or UDP to a remote server.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineSocketDestination(ObservabilityPipelineSocketDestinationEncoding encoding, ObservabilityPipelineSocketDestinationFraming framing, String id, List<String> inputs, ObservabilityPipelineSocketDestinationMode mode, ObservabilityPipelineSocketDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) addressKey(String addressKey) booleanReturn true if this ObservabilityPipelineSocketDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the environment variable or secret that holds the socket address (host:port).Configuration for buffer settings on destination components.Encoding format for log events.Framing method configuration.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.getMode()Protocol used to send logs.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.voidsetAddressKey(String addressKey) voidvoidvoidvoidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_FRAMING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_MODE
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSocketDestination
public ObservabilityPipelineSocketDestination() -
ObservabilityPipelineSocketDestination
public ObservabilityPipelineSocketDestination(ObservabilityPipelineSocketDestinationEncoding encoding, ObservabilityPipelineSocketDestinationFraming framing, String id, List<String> inputs, ObservabilityPipelineSocketDestinationMode mode, ObservabilityPipelineSocketDestinationType type)
-
-
Method Details
-
addressKey
-
getAddressKey
Name of the environment variable or secret that holds the socket address (host:port).- Returns:
- addressKey
-
setAddressKey
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
encoding
public ObservabilityPipelineSocketDestination encoding(ObservabilityPipelineSocketDestinationEncoding encoding) -
getEncoding
Encoding format for log events.- Returns:
- encoding
-
setEncoding
-
framing
public ObservabilityPipelineSocketDestination framing(ObservabilityPipelineSocketDestinationFraming framing) -
getFraming
Framing method configuration.- Returns:
- framing
-
setFraming
-
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
-
mode
-
getMode
Protocol used to send logs.- Returns:
- mode
-
setMode
-
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 besocket.- 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:
- ObservabilityPipelineSocketDestination
-
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 ObservabilityPipelineSocketDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-