Package com.datadog.api.client.v2.model
Class ExecutionPolicyTarget
java.lang.Object
com.datadog.api.client.v2.model.ExecutionPolicyTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ExecutionPolicyTarget
extends Object
A target this policy is scoped to, expressed as a set of Agent tags.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgentTagsItem(String agentTagsItem) booleanReturn true if this ExecutionPolicyTarget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Agent tags identifying the target.getName()A human-readable name for the target.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAgentTags(List<String> agentTags) voidvoidsetName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGENT_TAGS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
ExecutionPolicyTarget
public ExecutionPolicyTarget() -
ExecutionPolicyTarget
-
-
Method Details
-
agentTags
-
addAgentTagsItem
-
getAgentTags
The Agent tags identifying the target.- Returns:
- agentTags
-
setAgentTags
-
name
-
getName
A human-readable name for the target.- Returns:
- name
-
getName_JsonNullable
-
setName_JsonNullable
-
setName
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ExecutionPolicyTarget
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ExecutionPolicyTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-