@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SBOMComponent extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_BOM_REF |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PURL |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
SBOMComponent() |
SBOMComponent(String name,
SBOMComponentType type,
String version) |
| Modifier and Type | Method and Description |
|---|---|
SBOMComponent |
bomRef(String bomRef) |
boolean |
equals(Object o)
Return true if this SBOMComponent 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 |
getBomRef()
An optional identifier that can be used to reference the component elsewhere in the BOM.
|
String |
getName()
The name of the component.
|
String |
getPurl()
Specifies the package-url (purl).
|
SBOMComponentType |
getType()
The SBOM component type
|
String |
getVersion()
The component version.
|
int |
hashCode() |
SBOMComponent |
name(String name) |
SBOMComponent |
purl(String purl) |
SBOMComponent |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBomRef(String bomRef) |
void |
setName(String name) |
void |
setPurl(String purl) |
void |
setType(SBOMComponentType type) |
void |
setVersion(String version) |
String |
toString() |
SBOMComponent |
type(SBOMComponentType type) |
SBOMComponent |
version(String version) |
public boolean unparsed
public static final String JSON_PROPERTY_BOM_REF
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PURL
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VERSION
public SBOMComponent()
public SBOMComponent(String name, SBOMComponentType type, String version)
public SBOMComponent bomRef(String bomRef)
@Nullable public String getBomRef()
public void setBomRef(String bomRef)
public SBOMComponent name(String name)
public String getName()
public void setName(String name)
public SBOMComponent purl(String purl)
@Nullable public String getPurl()
public void setPurl(String purl)
public SBOMComponent type(SBOMComponentType type)
public SBOMComponentType getType()
public void setType(SBOMComponentType type)
public SBOMComponent version(String version)
public String getVersion()
public void setVersion(String version)
public SBOMComponent 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 © 2025. All rights reserved.