Package com.datadog.api.client.v2.model
Class SBOMComponent
java.lang.Object
com.datadog.api.client.v2.model.SBOMComponent
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SBOMComponent
extends Object
Software or hardware component.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSBOMComponent(String name, SBOMComponentSupplier supplier, SBOMComponentType type, String version) -
Method Summary
Modifier and TypeMethodDescriptionaddLicensesItem(SBOMComponentLicense licensesItem) addPropertiesItem(SBOMComponentProperty propertiesItem) booleanReturn true if this SBOMComponent object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An optional identifier that can be used to reference the component elsewhere in the BOM.The software licenses of the SBOM component.getName()The name of the component.The custom properties of the component of the SBOM.getPurl()Specifies the package-url (purl).The supplier of the component.getType()The SBOM component typeThe component version.inthashCode()licenses(List<SBOMComponentLicense> licenses) properties(List<SBOMComponentProperty> properties) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetLicenses(List<SBOMComponentLicense> licenses) voidvoidsetProperties(List<SBOMComponentProperty> properties) voidvoidsetSupplier(SBOMComponentSupplier supplier) voidsetType(SBOMComponentType type) voidsetVersion(String version) supplier(SBOMComponentSupplier supplier) toString()type(SBOMComponentType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BOM_REF
- See Also:
-
JSON_PROPERTY_LICENSES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROPERTIES
- See Also:
-
JSON_PROPERTY_PURL
- See Also:
-
JSON_PROPERTY_SUPPLIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SBOMComponent
public SBOMComponent() -
SBOMComponent
public SBOMComponent(String name, SBOMComponentSupplier supplier, SBOMComponentType type, String version)
-
-
Method Details
-
bomRef
-
getBomRef
An optional identifier that can be used to reference the component elsewhere in the BOM.- Returns:
- bomRef
-
setBomRef
-
licenses
-
addLicensesItem
-
getLicenses
The software licenses of the SBOM component.- Returns:
- licenses
-
setLicenses
-
name
-
getName
The name of the component. This will often be a shortened, single name of the component.- Returns:
- name
-
setName
-
properties
-
addPropertiesItem
-
getProperties
The custom properties of the component of the SBOM.- Returns:
- properties
-
setProperties
-
purl
-
getPurl
Specifies the package-url (purl). The purl, if specified, MUST be valid and conform to the specification.- Returns:
- purl
-
setPurl
-
supplier
-
getSupplier
The supplier of the component.- Returns:
- supplier
-
setSupplier
-
type
-
getType
The SBOM component type- Returns:
- type
-
setType
-
version
-
getVersion
The component version.- Returns:
- version
-
setVersion
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- SBOMComponent
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SBOMComponent object is equal to o. -
hashCode
public int hashCode() -
toString
-