@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomDestinationResponseForwardDestinationSplunk extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENDPOINT |
static String |
JSON_PROPERTY_SOURCETYPE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomDestinationResponseForwardDestinationSplunk() |
CustomDestinationResponseForwardDestinationSplunk(String endpoint,
CustomDestinationResponseForwardDestinationSplunkType type) |
| Modifier and Type | Method and Description |
|---|---|
CustomDestinationResponseForwardDestinationSplunk |
endpoint(String endpoint) |
boolean |
equals(Object o)
Return true if this CustomDestinationResponseForwardDestinationSplunk object is equal to o.
|
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.
|
CustomDestinationResponseForwardDestinationSplunkType |
getType()
Type of the Splunk HTTP Event Collector (HEC) destination.
|
int |
hashCode() |
CustomDestinationResponseForwardDestinationSplunk |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEndpoint(String endpoint) |
void |
setSourcetype_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourcetype) |
void |
setSourcetype(String sourcetype) |
void |
setType(CustomDestinationResponseForwardDestinationSplunkType type) |
CustomDestinationResponseForwardDestinationSplunk |
sourcetype(String sourcetype) |
String |
toString() |
CustomDestinationResponseForwardDestinationSplunk |
type(CustomDestinationResponseForwardDestinationSplunkType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ENDPOINT
public static final String JSON_PROPERTY_SOURCETYPE
public static final String JSON_PROPERTY_TYPE
public CustomDestinationResponseForwardDestinationSplunk()
public CustomDestinationResponseForwardDestinationSplunk(String endpoint, CustomDestinationResponseForwardDestinationSplunkType type)
public CustomDestinationResponseForwardDestinationSplunk endpoint(String endpoint)
public String getEndpoint()
public void setEndpoint(String endpoint)
public CustomDestinationResponseForwardDestinationSplunk 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 CustomDestinationResponseForwardDestinationSplunk type(CustomDestinationResponseForwardDestinationSplunkType type)
public CustomDestinationResponseForwardDestinationSplunkType getType()
public void setType(CustomDestinationResponseForwardDestinationSplunkType type)
public CustomDestinationResponseForwardDestinationSplunk 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.