@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CloudConfigurationRegoRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_POLICY |
static String |
JSON_PROPERTY_RESOURCE_TYPES |
boolean |
unparsed |
| Constructor and Description |
|---|
CloudConfigurationRegoRule() |
CloudConfigurationRegoRule(String policy,
List<String> resourceTypes) |
| Modifier and Type | Method and Description |
|---|---|
CloudConfigurationRegoRule |
addResourceTypesItem(String resourceTypesItem) |
boolean |
equals(Object o)
Return true if this CloudConfigurationRegoRule 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.
|
String |
getPolicy()
The policy written in
rego, see:
https://www.openpolicyagent.org/docs/latest/policy-language/ |
List<String> |
getResourceTypes()
List of resource types that will be evaluated upon.
|
int |
hashCode() |
CloudConfigurationRegoRule |
policy(String policy) |
CloudConfigurationRegoRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CloudConfigurationRegoRule |
resourceTypes(List<String> resourceTypes) |
void |
setPolicy(String policy) |
void |
setResourceTypes(List<String> resourceTypes) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_POLICY
public static final String JSON_PROPERTY_RESOURCE_TYPES
public CloudConfigurationRegoRule policy(String policy)
public String getPolicy()
rego, see:
https://www.openpolicyagent.org/docs/latest/policy-language/public void setPolicy(String policy)
public CloudConfigurationRegoRule resourceTypes(List<String> resourceTypes)
public CloudConfigurationRegoRule addResourceTypesItem(String resourceTypesItem)
public List<String> getResourceTypes()
public CloudConfigurationRegoRule 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 © 2024. All rights reserved.