Package com.datadog.api.client.v2.model
Class CloudConfigurationRegoRule
java.lang.Object
com.datadog.api.client.v2.model.CloudConfigurationRegoRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudConfigurationRegoRule
extends Object
Rule details.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourceTypesItem(String resourceTypesItem) booleanReturn true if this CloudConfigurationRegoRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The policy written inrego, see: https://www.openpolicyagent.org/docs/latest/policy-language/List of resource types that will be evaluated upon.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceTypes(List<String> resourceTypes) voidvoidsetResourceTypes(List<String> resourceTypes) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPES
- See Also:
-
-
Constructor Details
-
CloudConfigurationRegoRule
public CloudConfigurationRegoRule() -
CloudConfigurationRegoRule
-
-
Method Details
-
policy
-
getPolicy
The policy written inrego, see: https://www.openpolicyagent.org/docs/latest/policy-language/- Returns:
- policy
-
setPolicy
-
resourceTypes
-
addResourceTypesItem
-
getResourceTypes
List of resource types that will be evaluated upon. Must have at least one element.- Returns:
- resourceTypes
-
setResourceTypes
-
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:
- CloudConfigurationRegoRule
-
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 CloudConfigurationRegoRule object is equal to o. -
hashCode
public int hashCode() -
toString
-