Package com.datadog.api.client.v2.model
Class CloudWorkloadSecurityAgentPolicyAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudWorkloadSecurityAgentPolicyAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudWorkloadSecurityAgentPolicyAttributes
extends Object
A Cloud Workload Security Agent policy returned by the API
-
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHostTagsItem(String hostTagsItem) addHostTagsListsItem(List<String> hostTagsListsItem) addVersionsItem(CloudWorkloadSecurityAgentPolicyVersion versionsItem) blockingRulesCount(Integer blockingRulesCount) contentPackUpdateAvailable(Boolean contentPackUpdateAvailable) datadogManaged(Boolean datadogManaged) description(String description) disabledRulesCount(Integer disabledRulesCount) booleanReturn true if this CloudWorkloadSecurityAgentPolicyAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The number of rules with the blocking feature in this policy maximum: 2147483647Whether an update is available for the content pack.org.openapitools.jackson.nullable.JsonNullable<Boolean>Whether the policy is managed by DatadogThe description of the policyThe number of rules that are disabled in this policy maximum: 2147483647Whether the Agent policy is enabledThe host tags defining where this policy is deployedThe host tags defining where this policy is deployed, the inner values are linked with AND, the outer values are linked with ORThe number of rules in the monitoring state in this policy maximum: 2147483647getName()The name of the policyWhether the policy is pinnedThe type of the policyThe version of the policyThe priority of the policyThe number of rules in this policy maximum: 2147483647The ID of the Datadog-managed default policy this policy is derived fromWhen the policy was last updated, timestamp in millisecondsTimestamp in milliseconds when the policy was last updatedThe attributes of the user who last updated the policyThe versions of the policyinthashCode()hostTagsLists(List<List<String>> hostTagsLists) monitoringRulesCount(Integer monitoringRulesCount) policyType(String policyType) policyVersion(String policyVersion) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBlockingRulesCount(Integer blockingRulesCount) voidsetContentPackUpdateAvailable(Boolean contentPackUpdateAvailable) voidsetContentPackUpdateAvailable_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> contentPackUpdateAvailable) voidsetDatadogManaged(Boolean datadogManaged) voidsetDescription(String description) voidsetDisabledRulesCount(Integer disabledRulesCount) voidsetEnabled(Boolean enabled) voidsetHostTags(List<String> hostTags) voidsetHostTagsLists(List<List<String>> hostTagsLists) voidsetMonitoringRulesCount(Integer monitoringRulesCount) voidvoidvoidsetPolicyType(String policyType) voidsetPolicyVersion(String policyVersion) voidsetPriority(Long priority) voidsetRuleCount(Integer ruleCount) voidsetSourceDefaultPolicyId(String sourceDefaultPolicyId) voidsetUpdatedAt(Long updatedAt) voidsetUpdateDate(Long updateDate) voidvoidsourceDefaultPolicyId(String sourceDefaultPolicyId) toString()updateDate(Long updateDate) versions(List<CloudWorkloadSecurityAgentPolicyVersion> versions)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BLOCKING_RULES_COUNT
- See Also:
-
JSON_PROPERTY_CONTENT_PACK_UPDATE_AVAILABLE
- See Also:
-
JSON_PROPERTY_DATADOG_MANAGED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISABLED_RULES_COUNT
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_HOST_TAGS
- See Also:
-
JSON_PROPERTY_HOST_TAGS_LISTS
- See Also:
-
JSON_PROPERTY_MONITORING_RULES_COUNT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PINNED
- See Also:
-
JSON_PROPERTY_POLICY_TYPE
- See Also:
-
JSON_PROPERTY_POLICY_VERSION
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_RULE_COUNT
- See Also:
-
JSON_PROPERTY_SOURCE_DEFAULT_POLICY_ID
- See Also:
-
JSON_PROPERTY_UPDATE_DATE
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATER
- See Also:
-
JSON_PROPERTY_VERSIONS
- See Also:
-
-
Constructor Details
-
CloudWorkloadSecurityAgentPolicyAttributes
public CloudWorkloadSecurityAgentPolicyAttributes()
-
-
Method Details
-
blockingRulesCount
-
getBlockingRulesCount
The number of rules with the blocking feature in this policy maximum: 2147483647- Returns:
- blockingRulesCount
-
setBlockingRulesCount
-
contentPackUpdateAvailable
public CloudWorkloadSecurityAgentPolicyAttributes contentPackUpdateAvailable(Boolean contentPackUpdateAvailable) -
getContentPackUpdateAvailable
Whether an update is available for the content pack. Only set for activated content packs,nullotherwise- Returns:
- contentPackUpdateAvailable
-
getContentPackUpdateAvailable_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Boolean> getContentPackUpdateAvailable_JsonNullable() -
setContentPackUpdateAvailable_JsonNullable
public void setContentPackUpdateAvailable_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> contentPackUpdateAvailable) -
setContentPackUpdateAvailable
-
datadogManaged
-
getDatadogManaged
Whether the policy is managed by Datadog- Returns:
- datadogManaged
-
setDatadogManaged
-
description
-
getDescription
The description of the policy- Returns:
- description
-
setDescription
-
disabledRulesCount
-
getDisabledRulesCount
The number of rules that are disabled in this policy maximum: 2147483647- Returns:
- disabledRulesCount
-
setDisabledRulesCount
-
enabled
-
getEnabled
Whether the Agent policy is enabled- Returns:
- enabled
-
setEnabled
-
hostTags
-
addHostTagsItem
-
getHostTags
The host tags defining where this policy is deployed- Returns:
- hostTags
-
setHostTags
-
hostTagsLists
-
addHostTagsListsItem
public CloudWorkloadSecurityAgentPolicyAttributes addHostTagsListsItem(List<String> hostTagsListsItem) -
getHostTagsLists
The host tags defining where this policy is deployed, the inner values are linked with AND, the outer values are linked with OR- Returns:
- hostTagsLists
-
setHostTagsLists
-
monitoringRulesCount
public CloudWorkloadSecurityAgentPolicyAttributes monitoringRulesCount(Integer monitoringRulesCount) -
getMonitoringRulesCount
The number of rules in the monitoring state in this policy maximum: 2147483647- Returns:
- monitoringRulesCount
-
setMonitoringRulesCount
-
name
-
getName
The name of the policy- Returns:
- name
-
setName
-
pinned
-
getPinned
Whether the policy is pinned- Returns:
- pinned
-
setPinned
-
policyType
-
getPolicyType
The type of the policy- Returns:
- policyType
-
setPolicyType
-
policyVersion
-
getPolicyVersion
The version of the policy- Returns:
- policyVersion
-
setPolicyVersion
-
priority
-
getPriority
The priority of the policy- Returns:
- priority
-
setPriority
-
ruleCount
-
getRuleCount
The number of rules in this policy maximum: 2147483647- Returns:
- ruleCount
-
setRuleCount
-
sourceDefaultPolicyId
public CloudWorkloadSecurityAgentPolicyAttributes sourceDefaultPolicyId(String sourceDefaultPolicyId) -
getSourceDefaultPolicyId
The ID of the Datadog-managed default policy this policy is derived from- Returns:
- sourceDefaultPolicyId
-
setSourceDefaultPolicyId
-
updateDate
-
getUpdateDate
Timestamp in milliseconds when the policy was last updated- Returns:
- updateDate
-
setUpdateDate
-
updatedAt
-
getUpdatedAt
When the policy was last updated, timestamp in milliseconds- Returns:
- updatedAt
-
setUpdatedAt
-
updater
public CloudWorkloadSecurityAgentPolicyAttributes updater(CloudWorkloadSecurityAgentPolicyUpdaterAttributes updater) -
getUpdater
The attributes of the user who last updated the policy- Returns:
- updater
-
setUpdater
-
versions
public CloudWorkloadSecurityAgentPolicyAttributes versions(List<CloudWorkloadSecurityAgentPolicyVersion> versions) -
addVersionsItem
public CloudWorkloadSecurityAgentPolicyAttributes addVersionsItem(CloudWorkloadSecurityAgentPolicyVersion versionsItem) -
getVersions
The versions of the policy- Returns:
- versions
-
setVersions
-
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:
- CloudWorkloadSecurityAgentPolicyAttributes
-
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 CloudWorkloadSecurityAgentPolicyAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-