@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SBOMAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_BOM_FORMAT |
static String |
JSON_PROPERTY_COMPONENTS |
static String |
JSON_PROPERTY_DEPENDENCIES |
static String |
JSON_PROPERTY_METADATA |
static String |
JSON_PROPERTY_SERIAL_NUMBER |
static String |
JSON_PROPERTY_SPEC_VERSION |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
SBOMAttributes() |
SBOMAttributes(String bomFormat,
List<SBOMComponent> components,
List<SBOMComponentDependency> dependencies,
SBOMMetadata metadata,
String serialNumber,
SpecVersion specVersion,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
SBOMAttributes |
addComponentsItem(SBOMComponent componentsItem) |
SBOMAttributes |
addDependenciesItem(SBOMComponentDependency dependenciesItem) |
SBOMAttributes |
bomFormat(String bomFormat) |
SBOMAttributes |
components(List<SBOMComponent> components) |
SBOMAttributes |
dependencies(List<SBOMComponentDependency> dependencies) |
boolean |
equals(Object o)
Return true if this SBOMAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getBomFormat()
Specifies the format of the BOM.
|
List<SBOMComponent> |
getComponents()
A list of software and hardware components.
|
List<SBOMComponentDependency> |
getDependencies()
List of dependencies between components of the SBOM.
|
SBOMMetadata |
getMetadata()
Provides additional information about a BOM.
|
String |
getSerialNumber()
Every BOM generated has a unique serial number, even if the contents of the BOM have not
changed overt time.
|
SpecVersion |
getSpecVersion()
The version of the CycloneDX specification a BOM conforms to.
|
Long |
getVersion()
It increments when a BOM is modified.
|
int |
hashCode() |
SBOMAttributes |
metadata(SBOMMetadata metadata) |
SBOMAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SBOMAttributes |
serialNumber(String serialNumber) |
void |
setBomFormat(String bomFormat) |
void |
setComponents(List<SBOMComponent> components) |
void |
setDependencies(List<SBOMComponentDependency> dependencies) |
void |
setMetadata(SBOMMetadata metadata) |
void |
setSerialNumber(String serialNumber) |
void |
setSpecVersion(SpecVersion specVersion) |
void |
setVersion(Long version) |
SBOMAttributes |
specVersion(SpecVersion specVersion) |
String |
toString() |
SBOMAttributes |
version(Long version) |
public boolean unparsed
public static final String JSON_PROPERTY_BOM_FORMAT
public static final String JSON_PROPERTY_COMPONENTS
public static final String JSON_PROPERTY_DEPENDENCIES
public static final String JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_SERIAL_NUMBER
public static final String JSON_PROPERTY_SPEC_VERSION
public static final String JSON_PROPERTY_VERSION
public SBOMAttributes()
public SBOMAttributes(String bomFormat, List<SBOMComponent> components, List<SBOMComponentDependency> dependencies, SBOMMetadata metadata, String serialNumber, SpecVersion specVersion, Long version)
public SBOMAttributes bomFormat(String bomFormat)
public String getBomFormat()
CycloneDX.public void setBomFormat(String bomFormat)
public SBOMAttributes components(List<SBOMComponent> components)
public SBOMAttributes addComponentsItem(SBOMComponent componentsItem)
public List<SBOMComponent> getComponents()
public void setComponents(List<SBOMComponent> components)
public SBOMAttributes dependencies(List<SBOMComponentDependency> dependencies)
public SBOMAttributes addDependenciesItem(SBOMComponentDependency dependenciesItem)
public List<SBOMComponentDependency> getDependencies()
public void setDependencies(List<SBOMComponentDependency> dependencies)
public SBOMAttributes metadata(SBOMMetadata metadata)
public SBOMMetadata getMetadata()
public void setMetadata(SBOMMetadata metadata)
public SBOMAttributes serialNumber(String serialNumber)
public String getSerialNumber()
public void setSerialNumber(String serialNumber)
public SBOMAttributes specVersion(SpecVersion specVersion)
public SpecVersion getSpecVersion()
public void setSpecVersion(SpecVersion specVersion)
public SBOMAttributes version(Long version)
public Long getVersion()
public void setVersion(Long version)
public SBOMAttributes 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 © 2026. All rights reserved.