Package com.datadog.api.client.v2.model
Class CloudWorkloadSecurityAgentRuleCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudWorkloadSecurityAgentRuleCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudWorkloadSecurityAgentRuleCreateAttributes
extends Object
Create a new Cloud Workload Security Agent rule.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionCloudWorkloadSecurityAgentRuleCreateAttributes(String expression, String name) -
Method Summary
Modifier and TypeMethodDescriptionactions(List<CloudWorkloadSecurityAgentRuleAction> actions) addActionsItem(CloudWorkloadSecurityAgentRuleAction actionsItem) addBlockingItem(String blockingItem) addDisabledItem(String disabledItem) addFiltersItem(String filtersItem) addMonitoringItem(String monitoringItem) addProductTagsItem(String productTagsItem) agentVersion(String agentVersion) description(String description) booleanReturn true if this CloudWorkloadSecurityAgentRuleCreateAttributes object is equal to o.expression(String expression) The array of actions the rule can perform if triggeredorg.openapitools.jackson.nullable.JsonNullable<List<CloudWorkloadSecurityAgentRuleAction>>Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Constrain the rule to specific versions of the Datadog Agent.The blocking policies that the rule belongs to.The description of the Agent rule.The disabled policies that the rule belongs to.Whether the Agent rule is enabled.The SECL expression of the Agent rule.The platforms the Agent rule is supported on.The monitoring policies that the rule belongs to.getName()The name of the Agent rule.The ID of the policy where the Agent rule is saved.The list of product tags associated with the rule.Whether the rule is silent.inthashCode()monitoring(List<String> monitoring) productTags(List<String> productTags) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetActions_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<CloudWorkloadSecurityAgentRuleAction>> actions) voidsetAgentVersion(String agentVersion) voidsetBlocking(List<String> blocking) voidsetDescription(String description) voidsetDisabled(List<String> disabled) voidsetEnabled(Boolean enabled) voidsetExpression(String expression) voidsetFilters(List<String> filters) voidsetMonitoring(List<String> monitoring) voidvoidsetPolicyId(String policyId) voidsetProductTags(List<String> productTags) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIONS
- See Also:
-
JSON_PROPERTY_AGENT_VERSION
- See Also:
-
JSON_PROPERTY_BLOCKING
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISABLED
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXPRESSION
- See Also:
-
JSON_PROPERTY_FILTERS
- See Also:
-
JSON_PROPERTY_MONITORING
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_PRODUCT_TAGS
- See Also:
-
JSON_PROPERTY_SILENT
- See Also:
-
-
Constructor Details
-
CloudWorkloadSecurityAgentRuleCreateAttributes
public CloudWorkloadSecurityAgentRuleCreateAttributes() -
CloudWorkloadSecurityAgentRuleCreateAttributes
-
-
Method Details
-
actions
public CloudWorkloadSecurityAgentRuleCreateAttributes actions(List<CloudWorkloadSecurityAgentRuleAction> actions) -
addActionsItem
public CloudWorkloadSecurityAgentRuleCreateAttributes addActionsItem(CloudWorkloadSecurityAgentRuleAction actionsItem) -
getActions
The array of actions the rule can perform if triggered- Returns:
- actions
-
getActions_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<CloudWorkloadSecurityAgentRuleAction>> getActions_JsonNullable() -
setActions_JsonNullable
public void setActions_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<CloudWorkloadSecurityAgentRuleAction>> actions) -
setActions
-
agentVersion
-
getAgentVersion
Constrain the rule to specific versions of the Datadog Agent.- Returns:
- agentVersion
-
setAgentVersion
-
blocking
-
addBlockingItem
-
getBlocking
The blocking policies that the rule belongs to.- Returns:
- blocking
-
setBlocking
-
description
-
getDescription
The description of the Agent rule.- Returns:
- description
-
setDescription
-
disabled
-
addDisabledItem
-
getDisabled
The disabled policies that the rule belongs to.- Returns:
- disabled
-
setDisabled
-
enabled
-
getEnabled
Whether the Agent rule is enabled.- Returns:
- enabled
-
setEnabled
-
expression
-
getExpression
The SECL expression of the Agent rule.- Returns:
- expression
-
setExpression
-
filters
-
addFiltersItem
-
getFilters
The platforms the Agent rule is supported on.- Returns:
- filters
-
setFilters
-
monitoring
-
addMonitoringItem
-
getMonitoring
The monitoring policies that the rule belongs to.- Returns:
- monitoring
-
setMonitoring
-
name
-
getName
The name of the Agent rule.- Returns:
- name
-
setName
-
policyId
-
getPolicyId
The ID of the policy where the Agent rule is saved.- Returns:
- policyId
-
setPolicyId
-
productTags
-
addProductTagsItem
-
getProductTags
The list of product tags associated with the rule.- Returns:
- productTags
-
setProductTags
-
silent
-
getSilent
Whether the rule is silent.- Returns:
- silent
-
setSilent
-
putAdditionalProperty
public CloudWorkloadSecurityAgentRuleCreateAttributes 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 setvalue- The associated value- Returns:
- CloudWorkloadSecurityAgentRuleCreateAttributes
-
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 CloudWorkloadSecurityAgentRuleCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-