Package com.datadog.api.client.v2.model
Class CloudWorkloadSecurityAgentPolicyCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudWorkloadSecurityAgentPolicyCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudWorkloadSecurityAgentPolicyCreateAttributes
extends Object
Create a new Cloud Workload Security Agent policy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddHostTagsItem(String hostTagsItem) addHostTagsListsItem(List<String> hostTagsListsItem) description(String description) booleanReturn true if this CloudWorkloadSecurityAgentPolicyCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description of the policyWhether the 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 ORgetName()The name of the policyinthashCode()hostTagsLists(List<List<String>> hostTagsLists) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetHostTags(List<String> hostTags) voidsetHostTagsLists(List<List<String>> hostTagsLists) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_HOST_TAGS
- See Also:
-
JSON_PROPERTY_HOST_TAGS_LISTS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
CloudWorkloadSecurityAgentPolicyCreateAttributes
public CloudWorkloadSecurityAgentPolicyCreateAttributes() -
CloudWorkloadSecurityAgentPolicyCreateAttributes
-
-
Method Details
-
description
-
getDescription
The description of the policy- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
Whether the policy is enabled- Returns:
- enabled
-
setEnabled
-
hostTags
-
addHostTagsItem
-
getHostTags
The host tags defining where this policy is deployed- Returns:
- hostTags
-
setHostTags
-
hostTagsLists
public CloudWorkloadSecurityAgentPolicyCreateAttributes hostTagsLists(List<List<String>> hostTagsLists) -
addHostTagsListsItem
public CloudWorkloadSecurityAgentPolicyCreateAttributes 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
-
name
-
getName
The name of the policy- Returns:
- name
-
setName
-
putAdditionalProperty
public CloudWorkloadSecurityAgentPolicyCreateAttributes 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:
- CloudWorkloadSecurityAgentPolicyCreateAttributes
-
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 CloudWorkloadSecurityAgentPolicyCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-