@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OrgGroupPolicySuggestionAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONSENSUS_RATIO |
static String |
JSON_PROPERTY_POLICY_NAME |
static String |
JSON_PROPERTY_RECOMMENDED_VALUE |
static String |
JSON_PROPERTY_STATUS |
boolean |
unparsed |
| Constructor and Description |
|---|
OrgGroupPolicySuggestionAttributes() |
OrgGroupPolicySuggestionAttributes(Double consensusRatio,
String policyName,
Object recommendedValue,
OrgGroupPolicySuggestionStatus status) |
| Modifier and Type | Method and Description |
|---|---|
OrgGroupPolicySuggestionAttributes |
consensusRatio(Double consensusRatio) |
boolean |
equals(Object o)
Return true if this OrgGroupPolicySuggestionAttributes 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.
|
Double |
getConsensusRatio()
The ratio of member orgs whose configuration agrees on the recommended value.
|
String |
getPolicyName()
The name of the suggested policy.
|
Object |
getRecommendedValue()
The recommended value for the policy, based on member org consensus.
|
OrgGroupPolicySuggestionStatus |
getStatus()
The status of the policy suggestion.
|
int |
hashCode() |
OrgGroupPolicySuggestionAttributes |
policyName(String policyName) |
OrgGroupPolicySuggestionAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
OrgGroupPolicySuggestionAttributes |
recommendedValue(Object recommendedValue) |
void |
setConsensusRatio(Double consensusRatio) |
void |
setPolicyName(String policyName) |
void |
setRecommendedValue(Object recommendedValue) |
void |
setStatus(OrgGroupPolicySuggestionStatus status) |
OrgGroupPolicySuggestionAttributes |
status(OrgGroupPolicySuggestionStatus status) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CONSENSUS_RATIO
public static final String JSON_PROPERTY_POLICY_NAME
public static final String JSON_PROPERTY_RECOMMENDED_VALUE
public static final String JSON_PROPERTY_STATUS
public OrgGroupPolicySuggestionAttributes()
public OrgGroupPolicySuggestionAttributes(Double consensusRatio, String policyName, Object recommendedValue, OrgGroupPolicySuggestionStatus status)
public OrgGroupPolicySuggestionAttributes consensusRatio(Double consensusRatio)
public Double getConsensusRatio()
public void setConsensusRatio(Double consensusRatio)
public OrgGroupPolicySuggestionAttributes policyName(String policyName)
public String getPolicyName()
public void setPolicyName(String policyName)
public OrgGroupPolicySuggestionAttributes recommendedValue(Object recommendedValue)
public Object getRecommendedValue()
public void setRecommendedValue(Object recommendedValue)
public OrgGroupPolicySuggestionAttributes status(OrgGroupPolicySuggestionStatus status)
public OrgGroupPolicySuggestionStatus getStatus()
public void setStatus(OrgGroupPolicySuggestionStatus status)
public OrgGroupPolicySuggestionAttributes 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.