@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorAsset extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CATEGORY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RESOURCE_KEY |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
static String |
JSON_PROPERTY_URL |
boolean |
unparsed |
| Constructor and Description |
|---|
MonitorAsset() |
MonitorAsset(MonitorAssetCategory category,
String name,
String url) |
| Modifier and Type | Method and Description |
|---|---|
MonitorAsset |
category(MonitorAssetCategory category) |
boolean |
equals(Object o)
Return true if this MonitorAsset 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.
|
MonitorAssetCategory |
getCategory()
Indicates the type of asset this entity represents on a monitor.
|
String |
getName()
Name for the monitor asset
|
String |
getResourceKey()
Represents the identifier of the internal Datadog resource that this asset represents.
|
MonitorAssetResourceType |
getResourceType()
Type of internal Datadog resource associated with a monitor asset.
|
String |
getUrl()
URL link for the asset.
|
int |
hashCode() |
MonitorAsset |
name(String name) |
MonitorAsset |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MonitorAsset |
resourceKey(String resourceKey) |
MonitorAsset |
resourceType(MonitorAssetResourceType resourceType) |
void |
setCategory(MonitorAssetCategory category) |
void |
setName(String name) |
void |
setResourceKey(String resourceKey) |
void |
setResourceType(MonitorAssetResourceType resourceType) |
void |
setUrl(String url) |
String |
toString() |
MonitorAsset |
url(String url) |
public boolean unparsed
public static final String JSON_PROPERTY_CATEGORY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RESOURCE_KEY
public static final String JSON_PROPERTY_RESOURCE_TYPE
public static final String JSON_PROPERTY_URL
public MonitorAsset()
public MonitorAsset(MonitorAssetCategory category, String name, String url)
public MonitorAsset category(MonitorAssetCategory category)
public MonitorAssetCategory getCategory()
public void setCategory(MonitorAssetCategory category)
public MonitorAsset name(String name)
public String getName()
public void setName(String name)
public MonitorAsset resourceKey(String resourceKey)
@Nullable public String getResourceKey()
public void setResourceKey(String resourceKey)
public MonitorAsset resourceType(MonitorAssetResourceType resourceType)
@Nullable public MonitorAssetResourceType getResourceType()
public void setResourceType(MonitorAssetResourceType resourceType)
public MonitorAsset url(String url)
public String getUrl()
public void setUrl(String url)
public MonitorAsset 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.