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 Details

  • Constructor Details

    • GovernanceControlDetectionUpdateAttributes

      public GovernanceControlDetectionUpdateAttributes()
  • Method Details

    • assignedTeam

      public GovernanceControlDetectionUpdateAttributes assignedTeam(String assignedTeam)
    • getAssignedTeam

      @Nullable public String getAssignedTeam()
      The handle of the team the detection is assigned to. Set to an empty string to clear the assignment.
      Returns:
      assignedTeam
    • setAssignedTeam

      public void setAssignedTeam(String assignedTeam)
    • assignedTo

      public GovernanceControlDetectionUpdateAttributes assignedTo(String assignedTo)
    • getAssignedTo

      @Nullable public String getAssignedTo()
      The UUID of the user the detection is assigned to. Set to an empty string to clear the assignment.
      Returns:
      assignedTo
    • setAssignedTo

      public void setAssignedTo(String assignedTo)
    • mitigateAfter

      public GovernanceControlDetectionUpdateAttributes mitigateAfter(OffsetDateTime mitigateAfter)
    • getMitigateAfter

      @Nullable public OffsetDateTime getMitigateAfter()
      The timestamp after which the detection becomes eligible for mitigation. Used to defer mitigation to a later time.
      Returns:
      mitigateAfter
    • setMitigateAfter

      public void setMitigateAfter(OffsetDateTime mitigateAfter)
    • state

    • getState

      @Nullable public GovernanceControlDetectionUpdateState getState()
      The new state to set for the detection. Set to exception to acknowledge the detection and exclude it from active counts, or active to reopen it.
      Returns:
      state
    • setState

      public void setState(GovernanceControlDetectionUpdateState state)
    • putAdditionalProperty

      public GovernanceControlDetectionUpdateAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      GovernanceControlDetectionUpdateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this GovernanceControlDetectionUpdateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object