Class STIXBundleRequest

java.lang.Object
com.datadog.api.client.v2.model.STIXBundleRequest

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class STIXBundleRequest extends Object
A STIX 2.1 bundle containing threat intelligence indicator objects.
  • Field Details

  • Constructor Details

  • Method Details

    • id

      public STIXBundleRequest id(String id)
    • getId

      public String getId()
      The STIX bundle identifier.
      Returns:
      id
    • setId

      public void setId(String id)
    • objects

      public STIXBundleRequest objects(List<STIXObject> objects)
    • addObjectsItem

      public STIXBundleRequest addObjectsItem(STIXObject objectsItem)
    • getObjects

      public List<STIXObject> getObjects()
      The STIX objects included in the bundle. Indicator objects are processed and ingested; all other STIX object types are ignored and are not included in the response counters.
      Returns:
      objects
    • setObjects

      public void setObjects(List<STIXObject> objects)
    • specVersion

      public STIXBundleRequest specVersion(STIXSpecVersion specVersion)
    • getSpecVersion

      @Nullable public STIXSpecVersion getSpecVersion()
      The supported STIX specification version.
      Returns:
      specVersion
    • setSpecVersion

      public void setSpecVersion(STIXSpecVersion specVersion)
    • type

      public STIXBundleRequest type(STIXBundleType type)
    • getType

      public STIXBundleType getType()
      The STIX object type for a bundle.
      Returns:
      type
    • setType

      public void setType(STIXBundleType type)
    • putAdditionalProperty

      public STIXBundleRequest 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:
      STIXBundleRequest
    • 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 STIXBundleRequest 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