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 Details

  • Constructor Details

  • Method Details

    • arch

      public AssetAttributes arch(String arch)
    • getArch

      @Nullable public String getArch()
      Asset architecture.
      Returns:
      arch
    • setArch

      public void setArch(String arch)
    • environments

      public AssetAttributes environments(List<String> environments)
    • addEnvironmentsItem

      public AssetAttributes addEnvironmentsItem(String environmentsItem)
    • getEnvironments

      public List<String> getEnvironments()
      List of environments where the asset is deployed.
      Returns:
      environments
    • setEnvironments

      public void setEnvironments(List<String> environments)
    • name

      public AssetAttributes name(String name)
    • getName

      public String getName()
      Asset name.
      Returns:
      name
    • setName

      public void setName(String name)
    • operatingSystem

      public AssetAttributes operatingSystem(AssetOperatingSystem operatingSystem)
    • getOperatingSystem

      @Nullable public AssetOperatingSystem getOperatingSystem()
      Asset operating system.
      Returns:
      operatingSystem
    • setOperatingSystem

      public void setOperatingSystem(AssetOperatingSystem operatingSystem)
    • risks

      public AssetAttributes risks(AssetRisks risks)
    • getRisks

      public AssetRisks getRisks()
      Asset risks.
      Returns:
      risks
    • setRisks

      public void setRisks(AssetRisks risks)
    • teams

      public AssetAttributes teams(List<String> teams)
    • addTeamsItem

      public AssetAttributes addTeamsItem(String teamsItem)
    • getTeams

      @Nullable public List<String> getTeams()
      List of teams that own the asset.
      Returns:
      teams
    • setTeams

      public void setTeams(List<String> teams)
    • type

      public AssetAttributes type(AssetType type)
    • getType

      public AssetType getType()
      The asset type
      Returns:
      type
    • setType

      public void setType(AssetType type)
    • version

      public AssetAttributes version(AssetVersion version)
    • getVersion

      @Nullable public AssetVersion getVersion()
      Asset version.
      Returns:
      version
    • setVersion

      public void setVersion(AssetVersion version)
    • putAdditionalProperty

      public AssetAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      AssetAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this AssetAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object