Package com.datadog.api.client.v2.model
Class ExecutionPolicyRemoteActionRshellScopeRule
java.lang.Object
com.datadog.api.client.v2.model.ExecutionPolicyRemoteActionRshellScopeRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ExecutionPolicyRemoteActionRshellScopeRule
extends Object
A rule restricting remote shell access to specific paths.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionPolicyRemoteActionRshellScopeRule(ExecutionPolicyRemoteActionRshellAccess access, List<String> targetPaths) -
Method Summary
Modifier and TypeMethodDescriptionaddTargetPathsItem(String targetPathsItem) booleanReturn true if this ExecutionPolicyRemoteActionRshellScopeRule object is equal to o.The level of remote shell access granted for the target paths.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The file system paths this rule applies to.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetTargetPaths(List<String> targetPaths) targetPaths(List<String> targetPaths) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCESS
- See Also:
-
JSON_PROPERTY_TARGET_PATHS
- See Also:
-
-
Constructor Details
-
ExecutionPolicyRemoteActionRshellScopeRule
public ExecutionPolicyRemoteActionRshellScopeRule() -
ExecutionPolicyRemoteActionRshellScopeRule
public ExecutionPolicyRemoteActionRshellScopeRule(ExecutionPolicyRemoteActionRshellAccess access, List<String> targetPaths)
-
-
Method Details
-
access
public ExecutionPolicyRemoteActionRshellScopeRule access(ExecutionPolicyRemoteActionRshellAccess access) -
getAccess
The level of remote shell access granted for the target paths.- Returns:
- access
-
setAccess
-
targetPaths
-
addTargetPathsItem
-
getTargetPaths
The file system paths this rule applies to.- Returns:
- targetPaths
-
setTargetPaths
-
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:
- ExecutionPolicyRemoteActionRshellScopeRule
-
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 ExecutionPolicyRemoteActionRshellScopeRule object is equal to o. -
hashCode
public int hashCode() -
toString
-