@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AssetAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ARCH |
static String |
JSON_PROPERTY_ENVIRONMENTS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OPERATING_SYSTEM |
static String |
JSON_PROPERTY_RISKS |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
AssetAttributes() |
AssetAttributes(List<String> environments,
String name,
AssetRisks risks,
AssetType type) |
| Modifier and Type | Method and Description |
|---|---|
AssetAttributes |
addEnvironmentsItem(String environmentsItem) |
AssetAttributes |
arch(String arch) |
AssetAttributes |
environments(List<String> environments) |
boolean |
equals(Object o)
Return true if this AssetAttributes 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 |
getArch()
Asset architecture.
|
List<String> |
getEnvironments()
List of environments where the asset is deployed.
|
String |
getName()
Asset name.
|
AssetOperatingSystem |
getOperatingSystem()
Asset operating system.
|
AssetRisks |
getRisks()
Asset risks.
|
AssetType |
getType()
The asset type
|
AssetVersion |
getVersion()
Asset version.
|
int |
hashCode() |
AssetAttributes |
name(String name) |
AssetAttributes |
operatingSystem(AssetOperatingSystem operatingSystem) |
AssetAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AssetAttributes |
risks(AssetRisks risks) |
void |
setArch(String arch) |
void |
setEnvironments(List<String> environments) |
void |
setName(String name) |
void |
setOperatingSystem(AssetOperatingSystem operatingSystem) |
void |
setRisks(AssetRisks risks) |
void |
setType(AssetType type) |
void |
setVersion(AssetVersion version) |
String |
toString() |
AssetAttributes |
type(AssetType type) |
AssetAttributes |
version(AssetVersion version) |
public boolean unparsed
public static final String JSON_PROPERTY_ARCH
public static final String JSON_PROPERTY_ENVIRONMENTS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OPERATING_SYSTEM
public static final String JSON_PROPERTY_RISKS
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VERSION
public AssetAttributes()
public AssetAttributes(List<String> environments, String name, AssetRisks risks, AssetType type)
public AssetAttributes arch(String arch)
@Nullable public String getArch()
public void setArch(String arch)
public AssetAttributes environments(List<String> environments)
public AssetAttributes addEnvironmentsItem(String environmentsItem)
public List<String> getEnvironments()
public AssetAttributes name(String name)
public String getName()
public void setName(String name)
public AssetAttributes operatingSystem(AssetOperatingSystem operatingSystem)
@Nullable public AssetOperatingSystem getOperatingSystem()
public void setOperatingSystem(AssetOperatingSystem operatingSystem)
public AssetAttributes risks(AssetRisks risks)
public AssetRisks getRisks()
public void setRisks(AssetRisks risks)
public AssetAttributes type(AssetType type)
public AssetType getType()
public void setType(AssetType type)
public AssetAttributes version(AssetVersion version)
@Nullable public AssetVersion getVersion()
public void setVersion(AssetVersion version)
public AssetAttributes 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.