Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSplunkTcpSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSplunkTcpSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSplunkTcpSource
extends Object
The
splunk_tcp source receives logs from a Splunk Universal Forwarder over TCP. TLS
is supported for secure transmission.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddressKey(String addressKey) booleanReturn true if this ObservabilityPipelineSplunkTcpSource 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 listen address for the Splunk TCP receiver.getId()The unique identifier for this component.Maximum duration, in seconds, that a connection can remain open before it is closed.getTls()Configuration for enabling TLS encryption between the pipeline component and external connecting clients.getType()The source type.inthashCode()maxConnectionDurationSecs(Long maxConnectionDurationSecs) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddressKey(String addressKey) voidvoidsetMaxConnectionDurationSecs(Long maxConnectionDurationSecs) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MAX_CONNECTION_DURATION_SECS
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSplunkTcpSource
public ObservabilityPipelineSplunkTcpSource() -
ObservabilityPipelineSplunkTcpSource
public ObservabilityPipelineSplunkTcpSource(String id, ObservabilityPipelineSplunkTcpSourceType type)
-
-
Method Details
-
addressKey
-
getAddressKey
Name of the environment variable or secret that holds the listen address for the Splunk TCP receiver.- Returns:
- addressKey
-
setAddressKey
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
maxConnectionDurationSecs
public ObservabilityPipelineSplunkTcpSource maxConnectionDurationSecs(Long maxConnectionDurationSecs) -
getMaxConnectionDurationSecs
Maximum duration, in seconds, that a connection can remain open before it is closed. When unset, connections can remain open indefinitely. minimum: 1 maximum: 9007199254740991- Returns:
- maxConnectionDurationSecs
-
setMaxConnectionDurationSecs
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external connecting clients.- Returns:
- tls
-
setTls
-
type
-
getType
The source type. Alwayssplunk_tcp.- 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:
- ObservabilityPipelineSplunkTcpSource
-
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 ObservabilityPipelineSplunkTcpSource object is equal to o. -
hashCode
public int hashCode() -
toString
-