Package com.datadog.api.client.v2.model
Class ExecutionPolicyScope
java.lang.Object
com.datadog.api.client.v2.model.ExecutionPolicyScope
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ExecutionPolicyScope
extends Object
Restricts where the policy applies. At most one of
kubernetes, scripts,
or remote_action_rshell can be set. An empty object means the policy has no scope
restriction.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ExecutionPolicyScope object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Restricts the policy to specific Kubernetes namespaces.Restricts the policy to specific remote shell paths.Restricts the policy to specific scripts.inthashCode()kubernetes(ExecutionPolicyKubernetesScope kubernetes) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remoteActionRshell(ExecutionPolicyRemoteActionRshellScope remoteActionRshell) scripts(ExecutionPolicyScriptScope scripts) voidsetKubernetes(ExecutionPolicyKubernetesScope kubernetes) voidsetRemoteActionRshell(ExecutionPolicyRemoteActionRshellScope remoteActionRshell) voidsetScripts(ExecutionPolicyScriptScope scripts) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_KUBERNETES
- See Also:
-
JSON_PROPERTY_REMOTE_ACTION_RSHELL
- See Also:
-
JSON_PROPERTY_SCRIPTS
- See Also:
-
-
Constructor Details
-
ExecutionPolicyScope
public ExecutionPolicyScope()
-
-
Method Details
-
kubernetes
-
getKubernetes
Restricts the policy to specific Kubernetes namespaces.- Returns:
- kubernetes
-
setKubernetes
-
remoteActionRshell
public ExecutionPolicyScope remoteActionRshell(ExecutionPolicyRemoteActionRshellScope remoteActionRshell) -
getRemoteActionRshell
Restricts the policy to specific remote shell paths.- Returns:
- remoteActionRshell
-
setRemoteActionRshell
-
scripts
-
getScripts
Restricts the policy to specific scripts.- Returns:
- scripts
-
setScripts
-
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:
- ExecutionPolicyScope
-
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 ExecutionPolicyScope object is equal to o. -
hashCode
public int hashCode() -
toString
-