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 Details

  • Constructor Details

    • ExecutionPolicyTarget

      public ExecutionPolicyTarget()
    • ExecutionPolicyTarget

      public ExecutionPolicyTarget(List<String> agentTags)
  • Method Details

    • agentTags

      public ExecutionPolicyTarget agentTags(List<String> agentTags)
    • addAgentTagsItem

      public ExecutionPolicyTarget addAgentTagsItem(String agentTagsItem)
    • getAgentTags

      public List<String> getAgentTags()
      The Agent tags identifying the target.
      Returns:
      agentTags
    • setAgentTags

      public void setAgentTags(List<String> agentTags)
    • name

      public ExecutionPolicyTarget name(String name)
    • getName

      @Nullable public String getName()
      A human-readable name for the target.
      Returns:
      name
    • getName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getName_JsonNullable()
    • setName_JsonNullable

      public void setName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name)
    • setName

      public void setName(String name)
    • putAdditionalProperty

      public ExecutionPolicyTarget putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      ExecutionPolicyTarget
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this ExecutionPolicyTarget object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object