Package com.datadog.api.client.v2.model
Class GovernanceControlMitigationDefinition
java.lang.Object
com.datadog.api.client.v2.model.GovernanceControlMitigationDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceControlMitigationDefinition
extends Object
The definition of a mitigation available for a control.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceControlMitigationDefinition(String description, List<String> executionModes, String id, List<String> permissions, List<GovernanceControlParameterDefinition> supportedParameters, String title) -
Method Summary
Modifier and TypeMethodDescriptionaddExecutionModesItem(String executionModesItem) addPermissionsItem(String permissionsItem) addSupportedParametersItem(GovernanceControlParameterDefinition supportedParametersItem) description(String description) booleanReturn true if this GovernanceControlMitigationDefinition object is equal to o.executionModes(List<String> executionModes) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A human-readable description of the mitigation.The execution modes the mitigation supports, such asmanualorautomatic.getId()The unique identifier of the mitigation.The permissions required to apply the mitigation.An array of parameter definitions.getTitle()A short, human-readable name for the mitigation.inthashCode()permissions(List<String> permissions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetExecutionModes(List<String> executionModes) voidvoidsetPermissions(List<String> permissions) voidsetSupportedParameters(List<GovernanceControlParameterDefinition> supportedParameters) voidsupportedParameters(List<GovernanceControlParameterDefinition> supportedParameters) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EXECUTION_MODES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PERMISSIONS
- See Also:
-
JSON_PROPERTY_SUPPORTED_PARAMETERS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
GovernanceControlMitigationDefinition
public GovernanceControlMitigationDefinition() -
GovernanceControlMitigationDefinition
-
-
Method Details
-
description
-
getDescription
A human-readable description of the mitigation.- Returns:
- description
-
setDescription
-
executionModes
-
addExecutionModesItem
-
getExecutionModes
The execution modes the mitigation supports, such asmanualorautomatic.- Returns:
- executionModes
-
setExecutionModes
-
id
-
getId
The unique identifier of the mitigation.- Returns:
- id
-
setId
-
permissions
-
addPermissionsItem
-
getPermissions
The permissions required to apply the mitigation.- Returns:
- permissions
-
setPermissions
-
supportedParameters
public GovernanceControlMitigationDefinition supportedParameters(List<GovernanceControlParameterDefinition> supportedParameters) -
addSupportedParametersItem
public GovernanceControlMitigationDefinition addSupportedParametersItem(GovernanceControlParameterDefinition supportedParametersItem) -
getSupportedParameters
An array of parameter definitions.- Returns:
- supportedParameters
-
setSupportedParameters
-
title
-
getTitle
A short, human-readable name for the mitigation.- Returns:
- title
-
setTitle
-
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:
- GovernanceControlMitigationDefinition
-
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 GovernanceControlMitigationDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-