@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomDestinationForwardDestinationSplunk extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCESS_TOKEN |
static String |
JSON_PROPERTY_ENDPOINT |
static String |
JSON_PROPERTY_SOURCETYPE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomDestinationForwardDestinationSplunk() |
CustomDestinationForwardDestinationSplunk(String accessToken,
String endpoint,
CustomDestinationForwardDestinationSplunkType type) |
| Modifier and Type | Method and Description |
|---|---|
CustomDestinationForwardDestinationSplunk |
accessToken(String accessToken) |
CustomDestinationForwardDestinationSplunk |
endpoint(String endpoint) |
boolean |
equals(Object o)
Return true if this CustomDestinationForwardDestinationSplunk object is equal to o.
|
String |
getAccessToken()
Access token of the Splunk HTTP Event Collector.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getEndpoint()
The destination for which logs will be forwarded to.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getSourcetype_JsonNullable() |
String |
getSourcetype()
The Splunk sourcetype for the events sent to this Splunk destination.
|
CustomDestinationForwardDestinationSplunkType |
getType()
Type of the Splunk HTTP Event Collector (HEC) destination.
|
int |
hashCode() |
CustomDestinationForwardDestinationSplunk |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAccessToken(String accessToken) |
void |
setEndpoint(String endpoint) |
void |
setSourcetype_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourcetype) |
void |
setSourcetype(String sourcetype) |
void |
setType(CustomDestinationForwardDestinationSplunkType type) |
CustomDestinationForwardDestinationSplunk |
sourcetype(String sourcetype) |
String |
toString() |
CustomDestinationForwardDestinationSplunk |
type(CustomDestinationForwardDestinationSplunkType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ACCESS_TOKEN
public static final String JSON_PROPERTY_ENDPOINT
public static final String JSON_PROPERTY_SOURCETYPE
public static final String JSON_PROPERTY_TYPE
public CustomDestinationForwardDestinationSplunk()
public CustomDestinationForwardDestinationSplunk(String accessToken, String endpoint, CustomDestinationForwardDestinationSplunkType type)
public CustomDestinationForwardDestinationSplunk accessToken(String accessToken)
public String getAccessToken()
public void setAccessToken(String accessToken)
public CustomDestinationForwardDestinationSplunk endpoint(String endpoint)
public String getEndpoint()
public void setEndpoint(String endpoint)
public CustomDestinationForwardDestinationSplunk sourcetype(String sourcetype)
@Nullable public String getSourcetype()
If the field is absent from the request and no sourcetype has been previously set on this
destination, the default sourcetype _json is used. On update, if the field is
absent from the request but a sourcetype was previously set, the previous value is kept. If set
to null, the sourcetype field is omitted from the forwarded event entirely.
Otherwise, the provided string value is used as the sourcetype.
public org.openapitools.jackson.nullable.JsonNullable<String> getSourcetype_JsonNullable()
public void setSourcetype_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourcetype)
public void setSourcetype(String sourcetype)
public CustomDestinationForwardDestinationSplunk type(CustomDestinationForwardDestinationSplunkType type)
public CustomDestinationForwardDestinationSplunkType getType()
public void setType(CustomDestinationForwardDestinationSplunkType type)
public CustomDestinationForwardDestinationSplunk putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.