@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatadogAPIKeyUpdate 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 |
|---|
DatadogAPIKeyUpdate() |
DatadogAPIKeyUpdate(DatadogAPIKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
DatadogAPIKeyUpdate |
apiKey(String apiKey) |
DatadogAPIKeyUpdate |
appKey(String appKey) |
DatadogAPIKeyUpdate |
datacenter(String datacenter) |
boolean |
equals(Object o)
Return true if this DatadogAPIKeyUpdate 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
DatadogAPIKeyUpdate api_key. |
String |
getAppKey()
The
DatadogAPIKeyUpdate app_key. |
String |
getDatacenter()
The
DatadogAPIKeyUpdate datacenter. |
String |
getSubdomain()
Custom subdomain used for Datadog URLs generated with this Connection.
|
DatadogAPIKeyType |
getType()
The definition of the
DatadogAPIKey object. |
int |
hashCode() |
DatadogAPIKeyUpdate |
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) |
DatadogAPIKeyUpdate |
subdomain(String subdomain) |
String |
toString() |
DatadogAPIKeyUpdate |
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 DatadogAPIKeyUpdate()
public DatadogAPIKeyUpdate(DatadogAPIKeyType type)
public DatadogAPIKeyUpdate apiKey(String apiKey)
@Nullable public String getApiKey()
DatadogAPIKeyUpdate api_key.public void setApiKey(String apiKey)
public DatadogAPIKeyUpdate appKey(String appKey)
@Nullable public String getAppKey()
DatadogAPIKeyUpdate app_key.public void setAppKey(String appKey)
public DatadogAPIKeyUpdate datacenter(String datacenter)
@Nullable public String getDatacenter()
DatadogAPIKeyUpdate datacenter.public void setDatacenter(String datacenter)
public DatadogAPIKeyUpdate 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 DatadogAPIKeyUpdate type(DatadogAPIKeyType type)
public DatadogAPIKeyType getType()
DatadogAPIKey object.public void setType(DatadogAPIKeyType type)
public DatadogAPIKeyUpdate 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.