Package com.datadog.api.client.v2.model
Class GovernanceControlDetectionUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.GovernanceControlDetectionUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceControlDetectionUpdateAttributes
extends Object
The attributes of a governance control detection that can be updated. Only the attributes present
in the request are modified.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignedTeam(String assignedTeam) assignedTo(String assignedTo) booleanReturn true if this GovernanceControlDetectionUpdateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The handle of the team the detection is assigned to.The UUID of the user the detection is assigned to.The timestamp after which the detection becomes eligible for mitigation.getState()The new state to set for the detection.inthashCode()mitigateAfter(OffsetDateTime mitigateAfter) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAssignedTeam(String assignedTeam) voidsetAssignedTo(String assignedTo) voidsetMitigateAfter(OffsetDateTime mitigateAfter) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSIGNED_TEAM
- See Also:
-
JSON_PROPERTY_ASSIGNED_TO
- See Also:
-
JSON_PROPERTY_MITIGATE_AFTER
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
GovernanceControlDetectionUpdateAttributes
public GovernanceControlDetectionUpdateAttributes()
-
-
Method Details
-
assignedTeam
-
getAssignedTeam
The handle of the team the detection is assigned to. Set to an empty string to clear the assignment.- Returns:
- assignedTeam
-
setAssignedTeam
-
assignedTo
-
getAssignedTo
The UUID of the user the detection is assigned to. Set to an empty string to clear the assignment.- Returns:
- assignedTo
-
setAssignedTo
-
mitigateAfter
-
getMitigateAfter
The timestamp after which the detection becomes eligible for mitigation. Used to defer mitigation to a later time.- Returns:
- mitigateAfter
-
setMitigateAfter
-
state
public GovernanceControlDetectionUpdateAttributes state(GovernanceControlDetectionUpdateState state) -
getState
The new state to set for the detection. Set toexceptionto acknowledge the detection and exclude it from active counts, oractiveto reopen it.- Returns:
- state
-
setState
-
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:
- GovernanceControlDetectionUpdateAttributes
-
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 GovernanceControlDetectionUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-