Package com.datadog.api.client.v2.model
Class ExecutionPolicyKubernetesScopeRule
java.lang.Object
com.datadog.api.client.v2.model.ExecutionPolicyKubernetesScopeRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ExecutionPolicyKubernetesScopeRule
extends Object
A rule restricting a Kubernetes scope to specific namespaces.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTargetNamespacesItem(String targetNamespacesItem) booleanReturn true if this ExecutionPolicyKubernetesScopeRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Kubernetes namespaces this rule applies to.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetTargetNamespaces(List<String> targetNamespaces) targetNamespaces(List<String> targetNamespaces) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TARGET_NAMESPACES
- See Also:
-
-
Constructor Details
-
ExecutionPolicyKubernetesScopeRule
public ExecutionPolicyKubernetesScopeRule() -
ExecutionPolicyKubernetesScopeRule
-
-
Method Details
-
targetNamespaces
-
addTargetNamespacesItem
-
getTargetNamespaces
The Kubernetes namespaces this rule applies to.- Returns:
- targetNamespaces
-
setTargetNamespaces
-
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:
- ExecutionPolicyKubernetesScopeRule
-
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 ExecutionPolicyKubernetesScopeRule object is equal to o. -
hashCode
public int hashCode() -
toString
-