Package com.datadog.api.client.v2.model
Class ObservabilityPipelineWebsocketSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineWebsocketSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineWebsocketSource
extends Object
The
websocket source ingests logs from a WebSocket server using the ws://
or wss:// protocol.
Supported pipeline types: logs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineWebsocketSource(ObservabilityPipelineWebsocketSourceAuthStrategy authStrategy, ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineWebsocketSourceType type) -
Method Summary
Modifier and TypeMethodDescriptionauthStrategy(ObservabilityPipelineWebsocketSourceAuthStrategy authStrategy) decoding(ObservabilityPipelineDecoding decoding) booleanReturn true if this ObservabilityPipelineWebsocketSource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Authentication strategy for the WebSocket source connection.Name of the environment variable or secret that holds the custom authorization header value.The decoding format used to interpret incoming logs.getId()The unique identifier for this component.Name of the environment variable or secret that holds the password.getTls()TLS configuration for the WebSocket source.Name of the environment variable or secret that holds the bearer token.getType()The source type.Name of the environment variable or secret that holds the WebSocket server URI (ws://orwss://).Name of the environment variable or secret that holds the username.inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetCustomKey(String customKey) voidsetDecoding(ObservabilityPipelineDecoding decoding) voidvoidsetPasswordKey(String passwordKey) voidvoidsetTokenKey(String tokenKey) voidvoidvoidsetUsernameKey(String usernameKey) toString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_CUSTOM_KEY
- See Also:
-
JSON_PROPERTY_DECODING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_URI_KEY
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineWebsocketSource
public ObservabilityPipelineWebsocketSource() -
ObservabilityPipelineWebsocketSource
public ObservabilityPipelineWebsocketSource(ObservabilityPipelineWebsocketSourceAuthStrategy authStrategy, ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineWebsocketSourceType type)
-
-
Method Details
-
authStrategy
public ObservabilityPipelineWebsocketSource authStrategy(ObservabilityPipelineWebsocketSourceAuthStrategy authStrategy) -
getAuthStrategy
Authentication strategy for the WebSocket source connection.- Returns:
- authStrategy
-
setAuthStrategy
-
customKey
-
getCustomKey
Name of the environment variable or secret that holds the custom authorization header value. Used whenauth_strategyiscustom.- Returns:
- customKey
-
setCustomKey
-
decoding
-
getDecoding
The decoding format used to interpret incoming logs.- Returns:
- decoding
-
setDecoding
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the password. Used whenauth_strategyisbasic.- Returns:
- passwordKey
-
setPasswordKey
-
tls
-
getTls
TLS configuration for the WebSocket source. Useenabledfor standardwss://connections, orwith_client_certto present a client certificate for mutual TLS.- Returns:
- tls
-
setTls
-
tokenKey
-
getTokenKey
Name of the environment variable or secret that holds the bearer token. Used whenauth_strategyisbearer.- Returns:
- tokenKey
-
setTokenKey
-
type
-
getType
The source type. The value should always bewebsocket.- Returns:
- type
-
setType
-
uriKey
-
getUriKey
Name of the environment variable or secret that holds the WebSocket server URI (ws://orwss://).- Returns:
- uriKey
-
setUriKey
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the username. Used whenauth_strategyisbasic.- Returns:
- usernameKey
-
setUsernameKey
-
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:
- ObservabilityPipelineWebsocketSource
-
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 ObservabilityPipelineWebsocketSource object is equal to o. -
hashCode
public int hashCode() -
toString
-