@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatadogAPIKey extends Object
DatadogAPIKey object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_API_KEY |
static String |
JSON_PROPERTY_APP_KEY |
static String |
JSON_PROPERTY_DATACENTER |
static String |
JSON_PROPERTY_SUBDOMAIN |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
DatadogAPIKey() |
DatadogAPIKey(String apiKey,
String appKey,
String datacenter,
DatadogAPIKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
DatadogAPIKey |
apiKey(String apiKey) |
DatadogAPIKey |
appKey(String appKey) |
DatadogAPIKey |
datacenter(String datacenter) |
boolean |
equals(Object o)
Return true if this DatadogAPIKey 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 |
getApiKey()
The
DatadogAPIKey api_key. |
String |
getAppKey()
The
DatadogAPIKey app_key. |
String |
getDatacenter()
The
DatadogAPIKey datacenter. |
String |
getSubdomain()
Custom subdomain used for Datadog URLs generated with this Connection.
|
DatadogAPIKeyType |
getType()
The definition of the
DatadogAPIKey object. |
int |
hashCode() |
DatadogAPIKey |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setApiKey(String apiKey) |
void |
setAppKey(String appKey) |
void |
setDatacenter(String datacenter) |
void |
setSubdomain(String subdomain) |
void |
setType(DatadogAPIKeyType type) |
DatadogAPIKey |
subdomain(String subdomain) |
String |
toString() |
DatadogAPIKey |
type(DatadogAPIKeyType type) |
public boolean unparsed
public static final String JSON_PROPERTY_API_KEY
public static final String JSON_PROPERTY_APP_KEY
public static final String JSON_PROPERTY_DATACENTER
public static final String JSON_PROPERTY_SUBDOMAIN
public static final String JSON_PROPERTY_TYPE
public DatadogAPIKey()
public DatadogAPIKey(String apiKey, String appKey, String datacenter, DatadogAPIKeyType type)
public DatadogAPIKey apiKey(String apiKey)
public String getApiKey()
DatadogAPIKey api_key.public void setApiKey(String apiKey)
public DatadogAPIKey appKey(String appKey)
public String getAppKey()
DatadogAPIKey app_key.public void setAppKey(String appKey)
public DatadogAPIKey datacenter(String datacenter)
public String getDatacenter()
DatadogAPIKey datacenter.public void setDatacenter(String datacenter)
public DatadogAPIKey subdomain(String subdomain)
@Nullable public String getSubdomain()
https://acme.datadoghq.com to access Datadog, set this field to acme
. If this field is omitted, generated URLs will use the default site URL for its
datacenter (see https://docs.datadoghq.com/getting_started/site).public void setSubdomain(String subdomain)
public DatadogAPIKey type(DatadogAPIKeyType type)
public DatadogAPIKeyType getType()
DatadogAPIKey object.public void setType(DatadogAPIKeyType type)
public DatadogAPIKey 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 © 2025. All rights reserved.