@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CycloneDXComponent 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 |
|---|
CycloneDXComponent() |
CycloneDXComponent(String bomRef,
String name,
CycloneDXComponentType type,
String version) |
| Modifier and Type | Method and Description |
|---|---|
CycloneDXComponent |
bomRef(String bomRef) |
boolean |
equals(Object o)
Return true if this CycloneDXComponent 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()
A unique reference identifier used to link vulnerabilities to this component.
|
String |
getName()
The name of the component.
|
String |
getPurl()
The Package URL (PURL) of the component.
|
CycloneDXComponentType |
getType()
The type of the scanned component.
|
String |
getVersion()
The version of the component.
|
int |
hashCode() |
CycloneDXComponent |
name(String name) |
CycloneDXComponent |
purl(String purl) |
CycloneDXComponent |
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(CycloneDXComponentType type) |
void |
setVersion(String version) |
String |
toString() |
CycloneDXComponent |
type(CycloneDXComponentType type) |
CycloneDXComponent |
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 CycloneDXComponent()
public CycloneDXComponent(String bomRef, String name, CycloneDXComponentType type, String version)
public CycloneDXComponent bomRef(String bomRef)
public String getBomRef()
public void setBomRef(String bomRef)
public CycloneDXComponent name(String name)
public String getName()
public void setName(String name)
public CycloneDXComponent purl(String purl)
@Nullable public String getPurl()
type is library
.public void setPurl(String purl)
public CycloneDXComponent type(CycloneDXComponentType type)
public CycloneDXComponentType getType()
public void setType(CycloneDXComponentType type)
public CycloneDXComponent version(String version)
public String getVersion()
public void setVersion(String version)
public CycloneDXComponent 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.