Package com.datadog.api.client.v2.model
Class OrgGroupPolicyUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.OrgGroupPolicyUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OrgGroupPolicyUpdateAttributes
extends Object
Attributes for updating an org group policy.
policy_name, content, and
enforcement_tier may be omitted individually to leave them unchanged.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) booleanReturn true if this OrgGroupPolicyUpdateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The policy content as key-value pairs.The enforcement tier of the policy.The name of the policy.inthashCode()policyName(String policyName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putContentItem(String key, Object contentItem) voidsetContent(Map<String, Object> content) voidsetEnforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) voidsetPolicyName(String policyName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_ENFORCEMENT_TIER
- See Also:
-
JSON_PROPERTY_POLICY_NAME
- See Also:
-
-
Constructor Details
-
OrgGroupPolicyUpdateAttributes
public OrgGroupPolicyUpdateAttributes()
-
-
Method Details
-
content
-
putContentItem
-
getContent
The policy content as key-value pairs. Fororg_configpolicies, an arbitrary key-value map (for example,{"value": "UTC"}). Forrolepolicies, apermissionskey containing an array of permission UUIDs (for example,{"permissions": ["<uuid>", ...]}).- Returns:
- content
-
setContent
-
enforcementTier
public OrgGroupPolicyUpdateAttributes enforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) -
getEnforcementTier
The enforcement tier of the policy.OVERRIDE_ALLOWEDmeans the policy is set but member orgs may mutate it.GROUP_MANAGEDmeans the policy is strictly controlled and mutations are blocked for affected orgs.DELEGATEmeans each member org controls its own value.rolepolicies only supportGROUP_MANAGEDandDELEGATE—OVERRIDE_ALLOWEDis rejected for this policy type. Transitioning arolepolicy toDELEGATE(disabling it) is one-way — the policy cannot be transitioned back toGROUP_MANAGEDafterward.- Returns:
- enforcementTier
-
setEnforcementTier
-
policyName
-
getPolicyName
The name of the policy. This becomes the name of the resource created across orgs in the group (for example, forrolepolicies, the name of the created role). Omit to leave unchanged.- Returns:
- policyName
-
setPolicyName
-
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:
- OrgGroupPolicyUpdateAttributes
-
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 OrgGroupPolicyUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-