Class OrgGroupPolicyConfigAttributes

java.lang.Object
com.datadog.api.client.v2.model.OrgGroupPolicyConfigAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OrgGroupPolicyConfigAttributes extends Object
Attributes of an org group policy config.
  • Field Details

  • Constructor Details

    • OrgGroupPolicyConfigAttributes

      public OrgGroupPolicyConfigAttributes()
    • OrgGroupPolicyConfigAttributes

      public OrgGroupPolicyConfigAttributes(List<String> allowedValues, Object defaultValue, String description, String name, String valueType)
  • Method Details

    • allowedValues

      public OrgGroupPolicyConfigAttributes allowedValues(List<String> allowedValues)
    • addAllowedValuesItem

      public OrgGroupPolicyConfigAttributes addAllowedValuesItem(String allowedValuesItem)
    • getAllowedValues

      public List<String> getAllowedValues()
      The allowed values for this config.
      Returns:
      allowedValues
    • setAllowedValues

      public void setAllowedValues(List<String> allowedValues)
    • defaultValue

      public OrgGroupPolicyConfigAttributes defaultValue(Object defaultValue)
    • getDefaultValue

      public Object getDefaultValue()
      The default value for this config.
      Returns:
      defaultValue
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
    • description

      public OrgGroupPolicyConfigAttributes description(String description)
    • getDescription

      public String getDescription()
      The description of the policy config.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • name

    • getName

      public String getName()
      The name of the policy config.
      Returns:
      name
    • setName

      public void setName(String name)
    • valueType

      public OrgGroupPolicyConfigAttributes valueType(String valueType)
    • getValueType

      public String getValueType()
      The type of the value for this config.
      Returns:
      valueType
    • setValueType

      public void setValueType(String valueType)
    • putAdditionalProperty

      public OrgGroupPolicyConfigAttributes 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:
      OrgGroupPolicyConfigAttributes
    • 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 OrgGroupPolicyConfigAttributes 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