Class OrgGroupPolicySuggestionAttributes

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

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

  • Constructor Details

    • OrgGroupPolicySuggestionAttributes

      public OrgGroupPolicySuggestionAttributes()
    • OrgGroupPolicySuggestionAttributes

      public OrgGroupPolicySuggestionAttributes(Double consensusRatio, String policyName, Object recommendedValue, OrgGroupPolicySuggestionStatus status)
  • Method Details

    • consensusRatio

      public OrgGroupPolicySuggestionAttributes consensusRatio(Double consensusRatio)
    • getConsensusRatio

      public Double getConsensusRatio()
      The ratio of member orgs whose configuration agrees on the recommended value. minimum: 0 maximum: 1
      Returns:
      consensusRatio
    • setConsensusRatio

      public void setConsensusRatio(Double consensusRatio)
    • policyName

      public OrgGroupPolicySuggestionAttributes policyName(String policyName)
    • getPolicyName

      public String getPolicyName()
      The name of the suggested policy.
      Returns:
      policyName
    • setPolicyName

      public void setPolicyName(String policyName)
    • recommendedValue

      public OrgGroupPolicySuggestionAttributes recommendedValue(Object recommendedValue)
    • getRecommendedValue

      public Object getRecommendedValue()
      The recommended value for the policy, based on member org consensus.
      Returns:
      recommendedValue
    • setRecommendedValue

      public void setRecommendedValue(Object recommendedValue)
    • status

    • getStatus

      public OrgGroupPolicySuggestionStatus getStatus()
      The status of the policy suggestion.
      Returns:
      status
    • setStatus

      public void setStatus(OrgGroupPolicySuggestionStatus status)
    • putAdditionalProperty

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