Package com.datadog.api.client.v2.model
Class GovernanceControlDetectionAttributes
java.lang.Object
com.datadog.api.client.v2.model.GovernanceControlDetectionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceControlDetectionAttributes
extends Object
The attributes of a governance control detection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceControlDetectionAttributes(GovernanceControlDetectionAssignmentSource assignmentSource, String controlId, OffsetDateTime createdAt, String detectionType, String displayName, Long priority, String resourceId, String resourceType, GovernanceControlDetectionState state) -
Method Summary
Modifier and TypeMethodDescriptionassignedTeam(String assignedTeam) assignedTo(String assignedTo) assignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource) createdAt(OffsetDateTime createdAt) detectionType(String detectionType) displayName(String displayName) booleanReturn true if this GovernanceControlDetectionAttributes object is equal to o.exceptionAt(OffsetDateTime exceptionAt) exceptionBy(String exceptionBy) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The identifier of the team the detection is assigned to, if any.The identifier of the user the detection is assigned to, if any.How the detection's current assignment was determined.Deprecated.The date and time when the detection was created.The type of detection, which determines what condition was detected.The human-readable name of the detected resource.The date and time when the detection was marked as an exception, if applicable.The identifier of the user who marked the detection as an exception, if applicable.Free-form metadata associated with the detection.The date and time after which the detection is scheduled to be mitigated, if applicable.The date and time when the detection was mitigated, if applicable.The priority of the detection, if set.The identifier of the resource the detection applies to.The type of resource the detection applies to, for exampleapi_keyordashboard.getState()The current state of the detection.inthashCode()mitigateAfter(OffsetDateTime mitigateAfter) mitigatedAt(OffsetDateTime mitigatedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceId(String resourceId) resourceType(String resourceType) voidsetAssignedTeam(String assignedTeam) voidsetAssignedTo(String assignedTo) voidsetAssignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource) voidsetControlId(String controlId) Deprecated.voidsetCreatedAt(OffsetDateTime createdAt) voidsetDetectionType(String detectionType) voidsetDisplayName(String displayName) voidsetExceptionAt(OffsetDateTime exceptionAt) voidsetExceptionBy(String exceptionBy) voidsetMetadata(Object metadata) voidsetMitigateAfter(OffsetDateTime mitigateAfter) voidsetMitigatedAt(OffsetDateTime mitigatedAt) voidsetPriority(Long priority) voidsetResourceId(String resourceId) voidsetResourceType(String resourceType) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSIGNED_TEAM
- See Also:
-
JSON_PROPERTY_ASSIGNED_TO
- See Also:
-
JSON_PROPERTY_ASSIGNMENT_SOURCE
- See Also:
-
JSON_PROPERTY_CONTROL_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DETECTION_TYPE
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_EXCEPTION_AT
- See Also:
-
JSON_PROPERTY_EXCEPTION_BY
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_MITIGATE_AFTER
- See Also:
-
JSON_PROPERTY_MITIGATED_AT
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
GovernanceControlDetectionAttributes
public GovernanceControlDetectionAttributes() -
GovernanceControlDetectionAttributes
public GovernanceControlDetectionAttributes(GovernanceControlDetectionAssignmentSource assignmentSource, String controlId, OffsetDateTime createdAt, String detectionType, String displayName, Long priority, String resourceId, String resourceType, GovernanceControlDetectionState state)
-
-
Method Details
-
assignedTeam
-
getAssignedTeam
The identifier of the team the detection is assigned to, if any.- Returns:
- assignedTeam
-
setAssignedTeam
-
assignedTo
-
getAssignedTo
The identifier of the user the detection is assigned to, if any.- Returns:
- assignedTo
-
setAssignedTo
-
assignmentSource
public GovernanceControlDetectionAttributes assignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource) -
getAssignmentSource
How the detection's current assignment was determined. Possible values areauto_resolved,manual,reassigned, andcleared.- Returns:
- assignmentSource
-
setAssignmentSource
-
controlId
-
getControlId
Deprecated.DEPRECATED: mirrorsdetection_typefor backward compatibility; usedetection_typeinstead.- Returns:
- controlId
-
setControlId
Deprecated. -
createdAt
-
getCreatedAt
The date and time when the detection was created.- Returns:
- createdAt
-
setCreatedAt
-
detectionType
-
getDetectionType
The type of detection, which determines what condition was detected.- Returns:
- detectionType
-
setDetectionType
-
displayName
-
getDisplayName
The human-readable name of the detected resource.- Returns:
- displayName
-
setDisplayName
-
exceptionAt
-
getExceptionAt
The date and time when the detection was marked as an exception, if applicable.- Returns:
- exceptionAt
-
setExceptionAt
-
exceptionBy
-
getExceptionBy
The identifier of the user who marked the detection as an exception, if applicable.- Returns:
- exceptionBy
-
setExceptionBy
-
metadata
-
getMetadata
Free-form metadata associated with the detection.- Returns:
- metadata
-
setMetadata
-
mitigateAfter
-
getMitigateAfter
The date and time after which the detection is scheduled to be mitigated, if applicable.- Returns:
- mitigateAfter
-
setMitigateAfter
-
mitigatedAt
-
getMitigatedAt
The date and time when the detection was mitigated, if applicable.- Returns:
- mitigatedAt
-
setMitigatedAt
-
priority
-
getPriority
The priority of the detection, if set.- Returns:
- priority
-
setPriority
-
resourceId
-
getResourceId
The identifier of the resource the detection applies to.- Returns:
- resourceId
-
setResourceId
-
resourceType
-
getResourceType
The type of resource the detection applies to, for exampleapi_keyordashboard.- Returns:
- resourceType
-
setResourceType
-
state
-
getState
The current state of the detection. Possible values areactive,exception,mitigated,inactive,obsolete,resolved_externally, andmitigation_in_progress.- 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:
- GovernanceControlDetectionAttributes
-
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 GovernanceControlDetectionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-