@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GovernanceControlDetectionAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ASSIGNED_TEAM |
static String |
JSON_PROPERTY_ASSIGNED_TO |
static String |
JSON_PROPERTY_ASSIGNMENT_SOURCE |
static String |
JSON_PROPERTY_CONTROL_ID |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_DETECTION_TYPE |
static String |
JSON_PROPERTY_DISPLAY_NAME |
static String |
JSON_PROPERTY_EXCEPTION_AT |
static String |
JSON_PROPERTY_EXCEPTION_BY |
static String |
JSON_PROPERTY_METADATA |
static String |
JSON_PROPERTY_MITIGATE_AFTER |
static String |
JSON_PROPERTY_MITIGATED_AT |
static String |
JSON_PROPERTY_PRIORITY |
static String |
JSON_PROPERTY_RESOURCE_ID |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
static String |
JSON_PROPERTY_STATE |
boolean |
unparsed |
| Constructor and Description |
|---|
GovernanceControlDetectionAttributes() |
GovernanceControlDetectionAttributes(GovernanceControlDetectionAssignmentSource assignmentSource,
String controlId,
OffsetDateTime createdAt,
String detectionType,
String displayName,
Long priority,
String resourceId,
String resourceType,
GovernanceControlDetectionState state) |
| Modifier and Type | Method and Description |
|---|---|
GovernanceControlDetectionAttributes |
assignedTeam(String assignedTeam) |
GovernanceControlDetectionAttributes |
assignedTo(String assignedTo) |
GovernanceControlDetectionAttributes |
assignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource) |
GovernanceControlDetectionAttributes |
controlId(String controlId) |
GovernanceControlDetectionAttributes |
createdAt(OffsetDateTime createdAt) |
GovernanceControlDetectionAttributes |
detectionType(String detectionType) |
GovernanceControlDetectionAttributes |
displayName(String displayName) |
boolean |
equals(Object o)
Return true if this GovernanceControlDetectionAttributes object is equal to o.
|
GovernanceControlDetectionAttributes |
exceptionAt(OffsetDateTime exceptionAt) |
GovernanceControlDetectionAttributes |
exceptionBy(String exceptionBy) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAssignedTeam()
The identifier of the team the detection is assigned to, if any.
|
String |
getAssignedTo()
The identifier of the user the detection is assigned to, if any.
|
GovernanceControlDetectionAssignmentSource |
getAssignmentSource()
How the detection's current assignment was determined.
|
String |
getControlId()
Deprecated.
|
OffsetDateTime |
getCreatedAt()
The date and time when the detection was created.
|
String |
getDetectionType()
The type of detection, which determines what condition was detected.
|
String |
getDisplayName()
The human-readable name of the detected resource.
|
OffsetDateTime |
getExceptionAt()
The date and time when the detection was marked as an exception, if applicable.
|
String |
getExceptionBy()
The identifier of the user who marked the detection as an exception, if applicable.
|
Object |
getMetadata()
Free-form metadata associated with the detection.
|
OffsetDateTime |
getMitigateAfter()
The date and time after which the detection is scheduled to be mitigated, if applicable.
|
OffsetDateTime |
getMitigatedAt()
The date and time when the detection was mitigated, if applicable.
|
Long |
getPriority()
The priority of the detection, if set.
|
String |
getResourceId()
The identifier of the resource the detection applies to.
|
String |
getResourceType()
The type of resource the detection applies to, for example
api_key or
dashboard. |
GovernanceControlDetectionState |
getState()
The current state of the detection.
|
int |
hashCode() |
GovernanceControlDetectionAttributes |
metadata(Object metadata) |
GovernanceControlDetectionAttributes |
mitigateAfter(OffsetDateTime mitigateAfter) |
GovernanceControlDetectionAttributes |
mitigatedAt(OffsetDateTime mitigatedAt) |
GovernanceControlDetectionAttributes |
priority(Long priority) |
GovernanceControlDetectionAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
GovernanceControlDetectionAttributes |
resourceId(String resourceId) |
GovernanceControlDetectionAttributes |
resourceType(String resourceType) |
void |
setAssignedTeam(String assignedTeam) |
void |
setAssignedTo(String assignedTo) |
void |
setAssignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource) |
void |
setControlId(String controlId)
Deprecated.
|
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDetectionType(String detectionType) |
void |
setDisplayName(String displayName) |
void |
setExceptionAt(OffsetDateTime exceptionAt) |
void |
setExceptionBy(String exceptionBy) |
void |
setMetadata(Object metadata) |
void |
setMitigateAfter(OffsetDateTime mitigateAfter) |
void |
setMitigatedAt(OffsetDateTime mitigatedAt) |
void |
setPriority(Long priority) |
void |
setResourceId(String resourceId) |
void |
setResourceType(String resourceType) |
void |
setState(GovernanceControlDetectionState state) |
GovernanceControlDetectionAttributes |
state(GovernanceControlDetectionState state) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ASSIGNED_TEAM
public static final String JSON_PROPERTY_ASSIGNED_TO
public static final String JSON_PROPERTY_ASSIGNMENT_SOURCE
public static final String JSON_PROPERTY_CONTROL_ID
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_DETECTION_TYPE
public static final String JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_EXCEPTION_AT
public static final String JSON_PROPERTY_EXCEPTION_BY
public static final String JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_MITIGATE_AFTER
public static final String JSON_PROPERTY_MITIGATED_AT
public static final String JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_RESOURCE_ID
public static final String JSON_PROPERTY_RESOURCE_TYPE
public static final String JSON_PROPERTY_STATE
public GovernanceControlDetectionAttributes()
public GovernanceControlDetectionAttributes(GovernanceControlDetectionAssignmentSource assignmentSource, String controlId, OffsetDateTime createdAt, String detectionType, String displayName, Long priority, String resourceId, String resourceType, GovernanceControlDetectionState state)
public GovernanceControlDetectionAttributes assignedTeam(String assignedTeam)
@Nullable public String getAssignedTeam()
public void setAssignedTeam(String assignedTeam)
public GovernanceControlDetectionAttributes assignedTo(String assignedTo)
@Nullable public String getAssignedTo()
public void setAssignedTo(String assignedTo)
public GovernanceControlDetectionAttributes assignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource)
public GovernanceControlDetectionAssignmentSource getAssignmentSource()
auto_resolved
, manual, reassigned, and cleared.public void setAssignmentSource(GovernanceControlDetectionAssignmentSource assignmentSource)
public GovernanceControlDetectionAttributes controlId(String controlId)
@Deprecated public String getControlId()
detection_type for backward compatibility; use
detection_type instead.@Deprecated public void setControlId(String controlId)
public GovernanceControlDetectionAttributes createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public GovernanceControlDetectionAttributes detectionType(String detectionType)
public String getDetectionType()
public void setDetectionType(String detectionType)
public GovernanceControlDetectionAttributes displayName(String displayName)
public String getDisplayName()
public void setDisplayName(String displayName)
public GovernanceControlDetectionAttributes exceptionAt(OffsetDateTime exceptionAt)
@Nullable public OffsetDateTime getExceptionAt()
public void setExceptionAt(OffsetDateTime exceptionAt)
public GovernanceControlDetectionAttributes exceptionBy(String exceptionBy)
@Nullable public String getExceptionBy()
public void setExceptionBy(String exceptionBy)
public GovernanceControlDetectionAttributes metadata(Object metadata)
@Nullable public Object getMetadata()
public void setMetadata(Object metadata)
public GovernanceControlDetectionAttributes mitigateAfter(OffsetDateTime mitigateAfter)
@Nullable public OffsetDateTime getMitigateAfter()
public void setMitigateAfter(OffsetDateTime mitigateAfter)
public GovernanceControlDetectionAttributes mitigatedAt(OffsetDateTime mitigatedAt)
@Nullable public OffsetDateTime getMitigatedAt()
public void setMitigatedAt(OffsetDateTime mitigatedAt)
public GovernanceControlDetectionAttributes priority(Long priority)
public Long getPriority()
public void setPriority(Long priority)
public GovernanceControlDetectionAttributes resourceId(String resourceId)
public String getResourceId()
public void setResourceId(String resourceId)
public GovernanceControlDetectionAttributes resourceType(String resourceType)
public String getResourceType()
api_key or
dashboard.public void setResourceType(String resourceType)
public GovernanceControlDetectionAttributes state(GovernanceControlDetectionState state)
public GovernanceControlDetectionState getState()
active, exception
, mitigated, inactive, obsolete,
resolved_externally, and mitigation_in_progress.public void setState(GovernanceControlDetectionState state)
public GovernanceControlDetectionAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.