Package com.datadog.api.client.v2.model
Class STIXObject
java.lang.Object
com.datadog.api.client.v2.model.STIXObject
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class STIXObject
extends Object
A STIX 2.1 object. Indicator objects are processed and ingested; all other STIX object types are
ignored and are not included in the response counters.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExternalReferencesItem(Map<String, Object> externalReferencesItem) addIndicatorTypesItem(String indicatorTypesItem) addKillChainPhasesItem(Map<String, Object> killChainPhasesItem) addLabelsItem(String labelsItem) addObjectMarkingRefsItem(String objectMarkingRefsItem) confidence(Integer confidence) created(OffsetDateTime created) booleanReturn true if this STIXObject object is equal to o.externalReferences(List<Map<String, Object>> externalReferences) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The confidence in the correctness of the indicator, from 0 through 100.The time when the object was created.Optional external reference metadata preserved with the indicator but not interpreted during ingestion.getId()The STIX object identifier.The open vocabulary terms that categorize the indicator.Optional kill chain metadata preserved with the indicator but not interpreted during ingestion.Labels associated with the indicator.The time when the object was last modified.References to marking definition objects that apply to the indicator.The STIX pattern that identifies the observable.The supported STIX pattern language.Whether the indicator has been revoked.The STIX specification version declared on the object.getType()The STIX object type.The time from which the indicator is considered valid.The time until which the indicator is considered valid.inthashCode()indicatorTypes(List<String> indicatorTypes) killChainPhases(List<Map<String, Object>> killChainPhases) modified(OffsetDateTime modified) objectMarkingRefs(List<String> objectMarkingRefs) patternType(STIXPatternType patternType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfidence(Integer confidence) voidsetCreated(OffsetDateTime created) voidsetExternalReferences(List<Map<String, Object>> externalReferences) voidvoidsetIndicatorTypes(List<String> indicatorTypes) voidsetKillChainPhases(List<Map<String, Object>> killChainPhases) voidvoidsetModified(OffsetDateTime modified) voidsetObjectMarkingRefs(List<String> objectMarkingRefs) voidsetPattern(String pattern) voidsetPatternType(STIXPatternType patternType) voidsetRevoked(Boolean revoked) voidsetSpecVersion(String specVersion) voidvoidsetValidFrom(OffsetDateTime validFrom) voidsetValidUntil(OffsetDateTime validUntil) specVersion(String specVersion) toString()validFrom(OffsetDateTime validFrom) validUntil(OffsetDateTime validUntil)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIDENCE
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_EXTERNAL_REFERENCES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INDICATOR_TYPES
- See Also:
-
JSON_PROPERTY_KILL_CHAIN_PHASES
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_OBJECT_MARKING_REFS
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_PATTERN_TYPE
- See Also:
-
JSON_PROPERTY_REVOKED
- See Also:
-
JSON_PROPERTY_SPEC_VERSION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALID_FROM
- See Also:
-
JSON_PROPERTY_VALID_UNTIL
- See Also:
-
-
Constructor Details
-
STIXObject
public STIXObject() -
STIXObject
-
-
Method Details
-
confidence
-
getConfidence
The confidence in the correctness of the indicator, from 0 through 100. minimum: 0 maximum: 100- Returns:
- confidence
-
setConfidence
-
created
-
getCreated
The time when the object was created.- Returns:
- created
-
setCreated
-
externalReferences
-
addExternalReferencesItem
-
getExternalReferences
Optional external reference metadata preserved with the indicator but not interpreted during ingestion.- Returns:
- externalReferences
-
setExternalReferences
-
id
-
getId
The STIX object identifier.- Returns:
- id
-
setId
-
indicatorTypes
-
addIndicatorTypesItem
-
getIndicatorTypes
The open vocabulary terms that categorize the indicator.- Returns:
- indicatorTypes
-
setIndicatorTypes
-
killChainPhases
-
addKillChainPhasesItem
-
getKillChainPhases
Optional kill chain metadata preserved with the indicator but not interpreted during ingestion.- Returns:
- killChainPhases
-
setKillChainPhases
-
labels
-
addLabelsItem
-
getLabels
Labels associated with the indicator.- Returns:
- labels
-
setLabels
-
modified
-
getModified
The time when the object was last modified.- Returns:
- modified
-
setModified
-
objectMarkingRefs
-
addObjectMarkingRefsItem
-
getObjectMarkingRefs
References to marking definition objects that apply to the indicator.- Returns:
- objectMarkingRefs
-
setObjectMarkingRefs
-
pattern
-
getPattern
The STIX pattern that identifies the observable. Present on indicator objects.- Returns:
- pattern
-
setPattern
-
patternType
-
getPatternType
The supported STIX pattern language.- Returns:
- patternType
-
setPatternType
-
revoked
-
getRevoked
Whether the indicator has been revoked.- Returns:
- revoked
-
setRevoked
-
specVersion
-
getSpecVersion
The STIX specification version declared on the object. Objects with an unsupported version are accepted and counted in theunsupportedresponse counter.- Returns:
- specVersion
-
setSpecVersion
-
type
-
getType
The STIX object type.- Returns:
- type
-
setType
-
validFrom
-
getValidFrom
The time from which the indicator is considered valid. Present on indicator objects.- Returns:
- validFrom
-
setValidFrom
-
validUntil
-
getValidUntil
The time until which the indicator is considered valid.- Returns:
- validUntil
-
setValidUntil
-
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:
- STIXObject
-
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 STIXObject object is equal to o. -
hashCode
public int hashCode() -
toString
-