Class CsmUnifiedHostAttributes

java.lang.Object
com.datadog.api.client.v2.model.CsmUnifiedHostAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CsmUnifiedHostAttributes extends Object
Attributes of a unified host, combining data from agent and agentless sources.
  • Field Details

  • Constructor Details

    • CsmUnifiedHostAttributes

      public CsmUnifiedHostAttributes()
    • CsmUnifiedHostAttributes

      public CsmUnifiedHostAttributes(CsmUnifiedHostSource source)
  • Method Details

    • accountId

      public CsmUnifiedHostAttributes accountId(String accountId)
    • getAccountId

      @Nullable public String getAccountId()
      The ID of the cloud account that the host belongs to. Present only when the host was discovered through agentless scanning.
      Returns:
      accountId
    • getAccountId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAccountId_JsonNullable()
    • setAccountId_JsonNullable

      public void setAccountId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> accountId)
    • setAccountId

      public void setAccountId(String accountId)
    • agentCsmVmContainersEnabled

      public CsmUnifiedHostAttributes agentCsmVmContainersEnabled(Boolean agentCsmVmContainersEnabled)
    • getAgentCsmVmContainersEnabled

      @Nullable public Boolean getAgentCsmVmContainersEnabled()
      Whether CSM Vulnerabilities is enabled for containers through the Datadog Agent. true if enabled; false if disabled.
      Returns:
      agentCsmVmContainersEnabled
    • getAgentCsmVmContainersEnabled_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentCsmVmContainersEnabled_JsonNullable()
    • setAgentCsmVmContainersEnabled_JsonNullable

      public void setAgentCsmVmContainersEnabled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentCsmVmContainersEnabled)
    • setAgentCsmVmContainersEnabled

      public void setAgentCsmVmContainersEnabled(Boolean agentCsmVmContainersEnabled)
    • agentCsmVmHostsEnabled

      public CsmUnifiedHostAttributes agentCsmVmHostsEnabled(Boolean agentCsmVmHostsEnabled)
    • getAgentCsmVmHostsEnabled

      @Nullable public Boolean getAgentCsmVmHostsEnabled()
      Whether CSM Vulnerabilities is enabled for hosts through the Datadog Agent. true if enabled; false if disabled.
      Returns:
      agentCsmVmHostsEnabled
    • getAgentCsmVmHostsEnabled_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentCsmVmHostsEnabled_JsonNullable()
    • setAgentCsmVmHostsEnabled_JsonNullable

      public void setAgentCsmVmHostsEnabled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentCsmVmHostsEnabled)
    • setAgentCsmVmHostsEnabled

      public void setAgentCsmVmHostsEnabled(Boolean agentCsmVmHostsEnabled)
    • agentCwsEnabled

      public CsmUnifiedHostAttributes agentCwsEnabled(Boolean agentCwsEnabled)
    • getAgentCwsEnabled

      @Nullable public Boolean getAgentCwsEnabled()
      Whether CSM Threats is enabled for this host through the Datadog Agent. true if enabled; false if disabled.
      Returns:
      agentCwsEnabled
    • getAgentCwsEnabled_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentCwsEnabled_JsonNullable()
    • setAgentCwsEnabled_JsonNullable

      public void setAgentCwsEnabled_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentCwsEnabled)
    • setAgentCwsEnabled

      public void setAgentCwsEnabled(Boolean agentCwsEnabled)
    • agentPostureManagement

      public CsmUnifiedHostAttributes agentPostureManagement(Boolean agentPostureManagement)
    • getAgentPostureManagement

      @Nullable public Boolean getAgentPostureManagement()
      Whether CSM Misconfigurations is enabled for this host through the Datadog Agent. true if enabled; false if disabled.
      Returns:
      agentPostureManagement
    • getAgentPostureManagement_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentPostureManagement_JsonNullable()
    • setAgentPostureManagement_JsonNullable

      public void setAgentPostureManagement_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentPostureManagement)
    • setAgentPostureManagement

      public void setAgentPostureManagement(Boolean agentPostureManagement)
    • agentVersion

      public CsmUnifiedHostAttributes agentVersion(String agentVersion)
    • getAgentVersion

      @Nullable public String getAgentVersion()
      The version of the Datadog Agent running on this host.
      Returns:
      agentVersion
    • getAgentVersion_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAgentVersion_JsonNullable()
    • setAgentVersion_JsonNullable

      public void setAgentVersion_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> agentVersion)
    • setAgentVersion

      public void setAgentVersion(String agentVersion)
    • agentlessPostureManagement

      public CsmUnifiedHostAttributes agentlessPostureManagement(Boolean agentlessPostureManagement)
    • getAgentlessPostureManagement

      @Nullable public Boolean getAgentlessPostureManagement()
      Whether CSM Misconfigurations is enabled for this host via agentless scanning. true if enabled; false if disabled.
      Returns:
      agentlessPostureManagement
    • getAgentlessPostureManagement_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentlessPostureManagement_JsonNullable()
    • setAgentlessPostureManagement_JsonNullable

      public void setAgentlessPostureManagement_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentlessPostureManagement)
    • setAgentlessPostureManagement

      public void setAgentlessPostureManagement(Boolean agentlessPostureManagement)
    • agentlessVulnerabilityScanning

      public CsmUnifiedHostAttributes agentlessVulnerabilityScanning(Boolean agentlessVulnerabilityScanning)
    • getAgentlessVulnerabilityScanning

      @Nullable public Boolean getAgentlessVulnerabilityScanning()
      Whether CSM Vulnerabilities is enabled for this host via agentless scanning. true if enabled; false if disabled.
      Returns:
      agentlessVulnerabilityScanning
    • getAgentlessVulnerabilityScanning_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getAgentlessVulnerabilityScanning_JsonNullable()
    • setAgentlessVulnerabilityScanning_JsonNullable

      public void setAgentlessVulnerabilityScanning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> agentlessVulnerabilityScanning)
    • setAgentlessVulnerabilityScanning

      public void setAgentlessVulnerabilityScanning(Boolean agentlessVulnerabilityScanning)
    • cloudProvider

      public CsmUnifiedHostAttributes cloudProvider(CsmCloudProvider cloudProvider)
    • getCloudProvider

      @Nullable public CsmCloudProvider getCloudProvider()
      The cloud provider of a host resource.
      Returns:
      cloudProvider
    • setCloudProvider

      public void setCloudProvider(CsmCloudProvider cloudProvider)
    • clusterName

      public CsmUnifiedHostAttributes clusterName(String clusterName)
    • getClusterName

      @Nullable public String getClusterName()
      The name of the Kubernetes cluster the host belongs to, if applicable.
      Returns:
      clusterName
    • getClusterName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getClusterName_JsonNullable()
    • setClusterName_JsonNullable

      public void setClusterName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> clusterName)
    • setClusterName

      public void setClusterName(String clusterName)
    • datadogAgentKey

      public CsmUnifiedHostAttributes datadogAgentKey(String datadogAgentKey)
    • getDatadogAgentKey

      @Nullable public String getDatadogAgentKey()
      The Datadog Agent key associated with this host. Present only for agent-sourced hosts.
      Returns:
      datadogAgentKey
    • getDatadogAgentKey_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDatadogAgentKey_JsonNullable()
    • setDatadogAgentKey_JsonNullable

      public void setDatadogAgentKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> datadogAgentKey)
    • setDatadogAgentKey

      public void setDatadogAgentKey(String datadogAgentKey)
    • env

    • addEnvItem

      public CsmUnifiedHostAttributes addEnvItem(String envItem)
    • getEnv

      @Nullable public List<String> getEnv()
      The list of environment tags associated with this host.
      Returns:
      env
    • getEnv_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getEnv_JsonNullable()
    • setEnv_JsonNullable

      public void setEnv_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> env)
    • setEnv

      public void setEnv(List<String> env)
    • hostId

      public CsmUnifiedHostAttributes hostId(Long hostId)
    • getHostId

      @Nullable public Long getHostId()
      The internal Datadog host identifier. Present only for agent-sourced hosts.
      Returns:
      hostId
    • getHostId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getHostId_JsonNullable()
    • setHostId_JsonNullable

      public void setHostId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> hostId)
    • setHostId

      public void setHostId(Long hostId)
    • installMethodTool

      public CsmUnifiedHostAttributes installMethodTool(String installMethodTool)
    • getInstallMethodTool

      @Nullable public String getInstallMethodTool()
      The tool used to install the Datadog Agent on this host.
      Returns:
      installMethodTool
    • getInstallMethodTool_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getInstallMethodTool_JsonNullable()
    • setInstallMethodTool_JsonNullable

      public void setInstallMethodTool_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> installMethodTool)
    • setInstallMethodTool

      public void setInstallMethodTool(String installMethodTool)
    • os

    • getOs

      @Nullable public String getOs()
      The operating system of the host. Present only for agent-sourced hosts.
      Returns:
      os
    • getOs_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getOs_JsonNullable()
    • setOs_JsonNullable

      public void setOs_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> os)
    • setOs

      public void setOs(String os)
    • resourceType

      public CsmUnifiedHostAttributes resourceType(CsmAgentlessHostResourceType resourceType)
    • getResourceType

      @Nullable public CsmAgentlessHostResourceType getResourceType()
      The type of cloud resource for an agentless host.
      Returns:
      resourceType
    • setResourceType

      public void setResourceType(CsmAgentlessHostResourceType resourceType)
    • source

    • getSource

      public CsmUnifiedHostSource getSource()
      The source of a unified host entry, indicating whether it was discovered via agent, agentless scanning, or both.
      Returns:
      source
    • setSource

      public void setSource(CsmUnifiedHostSource source)
    • putAdditionalProperty

      public CsmUnifiedHostAttributes 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:
      CsmUnifiedHostAttributes
    • 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 CsmUnifiedHostAttributes 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