@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GovernanceInsightData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
GovernanceInsightData() |
GovernanceInsightData(GovernanceInsightAttributes attributes,
String id,
GovernanceInsightResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
GovernanceInsightData |
attributes(GovernanceInsightAttributes attributes) |
boolean |
equals(Object o)
Return true if this GovernanceInsightData 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.
|
GovernanceInsightAttributes |
getAttributes()
The attributes of a governance insight.
|
String |
getId()
The unique identifier of the insight.
|
GovernanceInsightResourceType |
getType()
JSON:API resource type for a governance insight.
|
int |
hashCode() |
GovernanceInsightData |
id(String id) |
GovernanceInsightData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(GovernanceInsightAttributes attributes) |
void |
setId(String id) |
void |
setType(GovernanceInsightResourceType type) |
String |
toString() |
GovernanceInsightData |
type(GovernanceInsightResourceType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public GovernanceInsightData()
public GovernanceInsightData(GovernanceInsightAttributes attributes, String id, GovernanceInsightResourceType type)
public GovernanceInsightData attributes(GovernanceInsightAttributes attributes)
public GovernanceInsightAttributes getAttributes()
metric_query,
event_query, usage_query, audit_query, or
percentage_query is populated, depending on the data source the insight is computed
from; the rest are null.public void setAttributes(GovernanceInsightAttributes attributes)
public GovernanceInsightData id(String id)
public String getId()
public void setId(String id)
public GovernanceInsightData type(GovernanceInsightResourceType type)
public GovernanceInsightResourceType getType()
public void setType(GovernanceInsightResourceType type)
public GovernanceInsightData 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.