Class SBOMMetadata

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SBOMMetadata extends Object
Provides additional information about a BOM.
  • Field Details

  • Constructor Details

    • SBOMMetadata

      public SBOMMetadata()
  • Method Details

    • authors

      public SBOMMetadata authors(List<SBOMMetadataAuthor> authors)
    • addAuthorsItem

      public SBOMMetadata addAuthorsItem(SBOMMetadataAuthor authorsItem)
    • getAuthors

      @Nullable public List<SBOMMetadataAuthor> getAuthors()
      List of authors of the SBOM.
      Returns:
      authors
    • setAuthors

      public void setAuthors(List<SBOMMetadataAuthor> authors)
    • component

      public SBOMMetadata component(SBOMMetadataComponent component)
    • getComponent

      @Nullable public SBOMMetadataComponent getComponent()
      The component that the BOM describes.
      Returns:
      component
    • setComponent

      public void setComponent(SBOMMetadataComponent component)
    • timestamp

      public SBOMMetadata timestamp(String timestamp)
    • getTimestamp

      @Nullable public String getTimestamp()
      The timestamp of the SBOM creation.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(String timestamp)
    • putAdditionalProperty

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