Class SBOMComponentDependency

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SBOMComponentDependency extends Object
The dependencies of a component of the SBOM.
  • Field Details

  • Constructor Details

    • SBOMComponentDependency

      public SBOMComponentDependency()
  • Method Details

    • dependsOn

      public SBOMComponentDependency dependsOn(List<String> dependsOn)
    • addDependsOnItem

      public SBOMComponentDependency addDependsOnItem(String dependsOnItem)
    • getDependsOn

      @Nullable public List<String> getDependsOn()
      The components that are dependencies of the ref component.
      Returns:
      dependsOn
    • setDependsOn

      public void setDependsOn(List<String> dependsOn)
    • ref

      public SBOMComponentDependency ref(String ref)
    • getRef

      @Nullable public String getRef()
      The identifier for the related component.
      Returns:
      ref
    • setRef

      public void setRef(String ref)
    • putAdditionalProperty

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