Package com.datadog.api.client.v2.model
Class AssetAttributes
java.lang.Object
com.datadog.api.client.v2.model.AssetAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AssetAttributes
extends Object
The JSON:API attributes of the asset.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssetAttributes(List<String> environments, String name, AssetRisks risks, AssetType type) -
Method Summary
Modifier and TypeMethodDescriptionaddEnvironmentsItem(String environmentsItem) addTeamsItem(String teamsItem) environments(List<String> environments) booleanReturn true if this AssetAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getArch()Asset architecture.List of environments where the asset is deployed.getName()Asset name.Asset operating system.getRisks()Asset risks.getTeams()List of teams that own the asset.getType()The asset typeAsset version.inthashCode()operatingSystem(AssetOperatingSystem operatingSystem) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.risks(AssetRisks risks) voidvoidsetEnvironments(List<String> environments) voidvoidsetOperatingSystem(AssetOperatingSystem operatingSystem) voidsetRisks(AssetRisks risks) voidvoidvoidsetVersion(AssetVersion version) toString()version(AssetVersion version)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ARCH
- See Also:
-
JSON_PROPERTY_ENVIRONMENTS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPERATING_SYSTEM
- See Also:
-
JSON_PROPERTY_RISKS
- See Also:
-
JSON_PROPERTY_TEAMS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
AssetAttributes
public AssetAttributes() -
AssetAttributes
-
-
Method Details
-
arch
-
getArch
Asset architecture.- Returns:
- arch
-
setArch
-
environments
-
addEnvironmentsItem
-
getEnvironments
List of environments where the asset is deployed.- Returns:
- environments
-
setEnvironments
-
name
-
getName
Asset name.- Returns:
- name
-
setName
-
operatingSystem
-
getOperatingSystem
Asset operating system.- Returns:
- operatingSystem
-
setOperatingSystem
-
risks
-
getRisks
Asset risks.- Returns:
- risks
-
setRisks
-
teams
-
addTeamsItem
-
getTeams
List of teams that own the asset.- Returns:
- teams
-
setTeams
-
type
-
getType
The asset type- Returns:
- type
-
setType
-
version
-
getVersion
Asset 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:
- AssetAttributes
-
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 AssetAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-