Package com.datadog.api.client.v2.model
Class CloudWorkloadSecurityAgentRuleUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudWorkloadSecurityAgentRuleUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudWorkloadSecurityAgentRuleUpdateAttributes
extends Object
Update an existing Cloud Workload Security Agent rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions(List<CloudWorkloadSecurityAgentRuleAction> actions) addActionsItem(CloudWorkloadSecurityAgentRuleAction actionsItem) addBlockingItem(String blockingItem) addDisabledItem(String disabledItem) addMonitoringItem(String monitoringItem) addProductTagsItem(String productTagsItem) agentVersion(String agentVersion) description(String description) booleanReturn true if this CloudWorkloadSecurityAgentRuleUpdateAttributes 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 AgentThe blocking policies that the rule belongs toThe description of the Agent ruleThe disabled policies that the rule belongs toWhether the Agent rule is enabledThe SECL expression of the Agent ruleThe monitoring policies that the rule belongs toThe ID of the policy where the Agent rule is savedThe list of product tags associated with the ruleWhether 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) voidsetMonitoring(List<String> monitoring) voidsetPolicyId(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_MONITORING
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_PRODUCT_TAGS
- See Also:
-
JSON_PROPERTY_SILENT
- See Also:
-
-
Constructor Details
-
CloudWorkloadSecurityAgentRuleUpdateAttributes
public CloudWorkloadSecurityAgentRuleUpdateAttributes()
-
-
Method Details
-
actions
public CloudWorkloadSecurityAgentRuleUpdateAttributes actions(List<CloudWorkloadSecurityAgentRuleAction> actions) -
addActionsItem
public CloudWorkloadSecurityAgentRuleUpdateAttributes 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
-
monitoring
-
addMonitoringItem
-
getMonitoring
The monitoring policies that the rule belongs to- Returns:
- monitoring
-
setMonitoring
-
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 CloudWorkloadSecurityAgentRuleUpdateAttributes 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:
- CloudWorkloadSecurityAgentRuleUpdateAttributes
-
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 CloudWorkloadSecurityAgentRuleUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-