@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FindingAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EVALUATION |
static String |
JSON_PROPERTY_EVALUATION_CHANGED_AT |
static String |
JSON_PROPERTY_MUTE |
static String |
JSON_PROPERTY_RESOURCE |
static String |
JSON_PROPERTY_RESOURCE_DISCOVERY_DATE |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
static String |
JSON_PROPERTY_RULE |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
FindingAttributes() |
| Modifier and Type | Method and Description |
|---|---|
FindingAttributes |
addTagsItem(String tagsItem) |
boolean |
equals(Object o)
Return true if this FindingAttributes object is equal to o.
|
FindingAttributes |
evaluation(FindingEvaluation evaluation) |
FindingAttributes |
evaluationChangedAt(Long evaluationChangedAt) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
FindingEvaluation |
getEvaluation()
The evaluation of the finding.
|
Long |
getEvaluationChangedAt()
The date on which the evaluation for this finding changed (Unix ms).
|
FindingMute |
getMute()
Information about the mute status of this finding.
|
String |
getResource()
The resource name of this finding.
|
Long |
getResourceDiscoveryDate()
The date on which the resource was discovered (Unix ms).
|
String |
getResourceType()
The resource type of this finding.
|
FindingRule |
getRule()
The rule that triggered this finding.
|
FindingStatus |
getStatus()
The status of the finding.
|
List<String> |
getTags()
The tags associated with this finding.
|
int |
hashCode() |
FindingAttributes |
mute(FindingMute mute) |
FindingAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FindingAttributes |
resource(String resource) |
FindingAttributes |
resourceDiscoveryDate(Long resourceDiscoveryDate) |
FindingAttributes |
resourceType(String resourceType) |
FindingAttributes |
rule(FindingRule rule) |
void |
setEvaluation(FindingEvaluation evaluation) |
void |
setEvaluationChangedAt(Long evaluationChangedAt) |
void |
setMute(FindingMute mute) |
void |
setResource(String resource) |
void |
setResourceDiscoveryDate(Long resourceDiscoveryDate) |
void |
setResourceType(String resourceType) |
void |
setRule(FindingRule rule) |
void |
setStatus(FindingStatus status) |
void |
setTags(List<String> tags) |
FindingAttributes |
status(FindingStatus status) |
FindingAttributes |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_EVALUATION
public static final String JSON_PROPERTY_EVALUATION_CHANGED_AT
public static final String JSON_PROPERTY_MUTE
public static final String JSON_PROPERTY_RESOURCE
public static final String JSON_PROPERTY_RESOURCE_DISCOVERY_DATE
public static final String JSON_PROPERTY_RESOURCE_TYPE
public static final String JSON_PROPERTY_RULE
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TAGS
public FindingAttributes evaluation(FindingEvaluation evaluation)
@Nullable public FindingEvaluation getEvaluation()
public void setEvaluation(FindingEvaluation evaluation)
public FindingAttributes evaluationChangedAt(Long evaluationChangedAt)
@Nullable public Long getEvaluationChangedAt()
public void setEvaluationChangedAt(Long evaluationChangedAt)
public FindingAttributes mute(FindingMute mute)
@Nullable public FindingMute getMute()
public void setMute(FindingMute mute)
public FindingAttributes resource(String resource)
@Nullable public String getResource()
public void setResource(String resource)
public FindingAttributes resourceDiscoveryDate(Long resourceDiscoveryDate)
@Nullable public Long getResourceDiscoveryDate()
public void setResourceDiscoveryDate(Long resourceDiscoveryDate)
public FindingAttributes resourceType(String resourceType)
@Nullable public String getResourceType()
public void setResourceType(String resourceType)
public FindingAttributes rule(FindingRule rule)
@Nullable public FindingRule getRule()
public void setRule(FindingRule rule)
public FindingAttributes status(FindingStatus status)
@Nullable public FindingStatus getStatus()
public void setStatus(FindingStatus status)
public FindingAttributes tags(List<String> tags)
public FindingAttributes addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public FindingAttributes 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 © 2024. All rights reserved.