Package com.datadog.api.client.v2.model
Class GovernanceMitigationRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.GovernanceMitigationRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceMitigationRequestAttributes
extends Object
The attributes of a governance mitigation request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceMitigationRequestAttributes(List<String> detectionIds, String detectionType) -
Method Summary
Modifier and TypeMethodDescriptionaddDetectionIdsItem(String detectionIdsItem) detectionIds(List<String> detectionIds) detectionType(String detectionType) booleanReturn true if this GovernanceMitigationRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The identifiers of the detections to mitigate in this request.The detection type whose detections should be mitigated.A free-form map of parameter names to their configured values.The mitigation to apply to the selected detections.inthashCode()mitigationParameters(Map<String, Object> mitigationParameters) mitigationType(String mitigationType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putMitigationParametersItem(String key, Object mitigationParametersItem) voidsetDetectionIds(List<String> detectionIds) voidsetDetectionType(String detectionType) voidsetMitigationParameters(Map<String, Object> mitigationParameters) voidsetMitigationType(String mitigationType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DETECTION_IDS
- See Also:
-
JSON_PROPERTY_DETECTION_TYPE
- See Also:
-
JSON_PROPERTY_MITIGATION_PARAMETERS
- See Also:
-
JSON_PROPERTY_MITIGATION_TYPE
- See Also:
-
-
Constructor Details
-
GovernanceMitigationRequestAttributes
public GovernanceMitigationRequestAttributes() -
GovernanceMitigationRequestAttributes
-
-
Method Details
-
detectionIds
-
addDetectionIdsItem
-
getDetectionIds
The identifiers of the detections to mitigate in this request.- Returns:
- detectionIds
-
setDetectionIds
-
detectionType
-
getDetectionType
The detection type whose detections should be mitigated.- Returns:
- detectionType
-
setDetectionType
-
mitigationParameters
public GovernanceMitigationRequestAttributes mitigationParameters(Map<String, Object> mitigationParameters) -
putMitigationParametersItem
public GovernanceMitigationRequestAttributes putMitigationParametersItem(String key, Object mitigationParametersItem) -
getMitigationParameters
A free-form map of parameter names to their configured values.- Returns:
- mitigationParameters
-
setMitigationParameters
-
mitigationType
-
getMitigationType
The mitigation to apply to the selected detections. Defaults to the control's configured mitigation when omitted.- Returns:
- mitigationType
-
setMitigationType
-
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:
- GovernanceMitigationRequestAttributes
-
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 GovernanceMitigationRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-