Class FleetAgentV2Attributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetAgentV2Attributes extends Object
Attributes of a Datadog Agent in the v2 list response.
  • Field Details

  • Constructor Details

    • FleetAgentV2Attributes

      public FleetAgentV2Attributes()
  • Method Details

    • agentVersion

      public FleetAgentV2Attributes agentVersion(String agentVersion)
    • getAgentVersion

      @Nullable public String getAgentVersion()
      The Datadog Agent version.
      Returns:
      agentVersion
    • setAgentVersion

      public void setAgentVersion(String agentVersion)
    • apiKeyName

      public FleetAgentV2Attributes apiKeyName(String apiKeyName)
    • getApiKeyName

      @Nullable public String getApiKeyName()
      The name of the API key used by the agent, if available and not redacted.
      Returns:
      apiKeyName
    • setApiKeyName

      public void setApiKeyName(String apiKeyName)
    • apiKeyUuid

      public FleetAgentV2Attributes apiKeyUuid(String apiKeyUuid)
    • getApiKeyUuid

      @Nullable public String getApiKeyUuid()
      The UUID of the API key used by the agent.
      Returns:
      apiKeyUuid
    • setApiKeyUuid

      public void setApiKeyUuid(String apiKeyUuid)
    • cloudProvider

      public FleetAgentV2Attributes cloudProvider(String cloudProvider)
    • getCloudProvider

      @Nullable public String getCloudProvider()
      The cloud provider where the agent is running.
      Returns:
      cloudProvider
    • setCloudProvider

      public void setCloudProvider(String cloudProvider)
    • clusterName

      public FleetAgentV2Attributes clusterName(String clusterName)
    • getClusterName

      @Nullable public String getClusterName()
      The Kubernetes cluster name, if the agent runs in a cluster.
      Returns:
      clusterName
    • setClusterName

      public void setClusterName(String clusterName)
    • datadogDataCenter

      public FleetAgentV2Attributes datadogDataCenter(String datadogDataCenter)
    • getDatadogDataCenter

      @Nullable public String getDatadogDataCenter()
      The Datadog data center the agent reports to.
      Returns:
      datadogDataCenter
    • setDatadogDataCenter

      public void setDatadogDataCenter(String datadogDataCenter)
    • ecsFargateClusterName

      public FleetAgentV2Attributes ecsFargateClusterName(String ecsFargateClusterName)
    • getEcsFargateClusterName

      @Nullable public String getEcsFargateClusterName()
      The ECS Fargate cluster name, if the agent runs in an ECS Fargate environment.
      Returns:
      ecsFargateClusterName
    • setEcsFargateClusterName

      public void setEcsFargateClusterName(String ecsFargateClusterName)
    • ecsFargateTaskArn

      public FleetAgentV2Attributes ecsFargateTaskArn(String ecsFargateTaskArn)
    • getEcsFargateTaskArn

      @Nullable public String getEcsFargateTaskArn()
      The ECS Fargate task ARN, if the agent runs in an ECS Fargate environment.
      Returns:
      ecsFargateTaskArn
    • setEcsFargateTaskArn

      public void setEcsFargateTaskArn(String ecsFargateTaskArn)
    • enabledProducts

      public FleetAgentV2Attributes enabledProducts(List<String> enabledProducts)
    • addEnabledProductsItem

      public FleetAgentV2Attributes addEnabledProductsItem(String enabledProductsItem)
    • getEnabledProducts

      @Nullable public List<String> getEnabledProducts()
      Datadog products enabled on the agent.
      Returns:
      enabledProducts
    • setEnabledProducts

      public void setEnabledProducts(List<String> enabledProducts)
    • env

      public FleetAgentV2Attributes env(List<String> env)
    • addEnvItem

      public FleetAgentV2Attributes addEnvItem(String envItem)
    • getEnv

      @Nullable public List<String> getEnv()
      Environments the agent is reporting from.
      Returns:
      env
    • setEnv

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

      public FleetAgentV2Attributes firstSeenAt(Long firstSeenAt)
    • getFirstSeenAt

      @Nullable public Long getFirstSeenAt()
      Unix timestamp when the agent was first seen.
      Returns:
      firstSeenAt
    • setFirstSeenAt

      public void setFirstSeenAt(Long firstSeenAt)
    • fleetPolicies

      public FleetAgentV2Attributes fleetPolicies(List<String> fleetPolicies)
    • addFleetPoliciesItem

      public FleetAgentV2Attributes addFleetPoliciesItem(String fleetPoliciesItem)
    • getFleetPolicies

      @Nullable public List<String> getFleetPolicies()
      Identifiers of fleet policies applied to the agent.
      Returns:
      fleetPolicies
    • setFleetPolicies

      public void setFleetPolicies(List<String> fleetPolicies)
    • hostname

      public FleetAgentV2Attributes hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      The hostname of the agent.
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • instrumentationErrorCounts

      public FleetAgentV2Attributes instrumentationErrorCounts(Long instrumentationErrorCounts)
    • getInstrumentationErrorCounts

      @Nullable public Long getInstrumentationErrorCounts()
      Number of instrumentation errors on the agent. Absent from the response when the count is zero.
      Returns:
      instrumentationErrorCounts
    • setInstrumentationErrorCounts

      public void setInstrumentationErrorCounts(Long instrumentationErrorCounts)
    • instrumentationStatus

      public FleetAgentV2Attributes instrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus)
    • getInstrumentationStatus

      @Nullable public FleetAgentV2AttributesInstrumentationStatus getInstrumentationStatus()
      The single-step instrumentation status of the Agent.
      Returns:
      instrumentationStatus
    • setInstrumentationStatus

      public void setInstrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus)
    • integrations

      public FleetAgentV2Attributes integrations(List<String> integrations)
    • addIntegrationsItem

      public FleetAgentV2Attributes addIntegrationsItem(String integrationsItem)
    • getIntegrations

      @Nullable public List<String> getIntegrations()
      Names of integrations configured on the agent.
      Returns:
      integrations
    • setIntegrations

      public void setIntegrations(List<String> integrations)
    • ipAddresses

      public FleetAgentV2Attributes ipAddresses(List<String> ipAddresses)
    • addIpAddressesItem

      public FleetAgentV2Attributes addIpAddressesItem(String ipAddressesItem)
    • getIpAddresses

      @Nullable public List<String> getIpAddresses()
      IP addresses of the agent host.
      Returns:
      ipAddresses
    • setIpAddresses

      public void setIpAddresses(List<String> ipAddresses)
    • isSingleStepInstrumentationEnabled

      public FleetAgentV2Attributes isSingleStepInstrumentationEnabled(Boolean isSingleStepInstrumentationEnabled)
    • getIsSingleStepInstrumentationEnabled

      @Nullable public Boolean getIsSingleStepInstrumentationEnabled()
      Whether single-step instrumentation is enabled on the agent.
      Returns:
      isSingleStepInstrumentationEnabled
    • setIsSingleStepInstrumentationEnabled

      public void setIsSingleStepInstrumentationEnabled(Boolean isSingleStepInstrumentationEnabled)
    • lastRestartAt

      public FleetAgentV2Attributes lastRestartAt(Long lastRestartAt)
    • getLastRestartAt

      @Nullable public Long getLastRestartAt()
      Unix timestamp of the last agent restart.
      Returns:
      lastRestartAt
    • setLastRestartAt

      public void setLastRestartAt(Long lastRestartAt)
    • os

    • getOs

      @Nullable public String getOs()
      The operating system of the host.
      Returns:
      os
    • setOs

      public void setOs(String os)
    • otelCollectorDeploymentTypes

      public FleetAgentV2Attributes otelCollectorDeploymentTypes(List<String> otelCollectorDeploymentTypes)
    • addOtelCollectorDeploymentTypesItem

      public FleetAgentV2Attributes addOtelCollectorDeploymentTypesItem(String otelCollectorDeploymentTypesItem)
    • getOtelCollectorDeploymentTypes

      @Nullable public List<String> getOtelCollectorDeploymentTypes()
      OpenTelemetry collector deployment types associated with the agent.
      Returns:
      otelCollectorDeploymentTypes
    • setOtelCollectorDeploymentTypes

      public void setOtelCollectorDeploymentTypes(List<String> otelCollectorDeploymentTypes)
    • otelCollectorDistributions

      public FleetAgentV2Attributes otelCollectorDistributions(List<String> otelCollectorDistributions)
    • addOtelCollectorDistributionsItem

      public FleetAgentV2Attributes addOtelCollectorDistributionsItem(String otelCollectorDistributionsItem)
    • getOtelCollectorDistributions

      @Nullable public List<String> getOtelCollectorDistributions()
      OpenTelemetry collector distributions associated with the agent.
      Returns:
      otelCollectorDistributions
    • setOtelCollectorDistributions

      public void setOtelCollectorDistributions(List<String> otelCollectorDistributions)
    • otelCollectorVersions

      public FleetAgentV2Attributes otelCollectorVersions(List<String> otelCollectorVersions)
    • addOtelCollectorVersionsItem

      public FleetAgentV2Attributes addOtelCollectorVersionsItem(String otelCollectorVersionsItem)
    • getOtelCollectorVersions

      @Nullable public List<String> getOtelCollectorVersions()
      All OpenTelemetry collector versions associated with the agent.
      Returns:
      otelCollectorVersions
    • setOtelCollectorVersions

      public void setOtelCollectorVersions(List<String> otelCollectorVersions)
    • otelResourceAttributes

      public FleetAgentV2Attributes otelResourceAttributes(List<String> otelResourceAttributes)
    • addOtelResourceAttributesItem

      public FleetAgentV2Attributes addOtelResourceAttributesItem(String otelResourceAttributesItem)
    • getOtelResourceAttributes

      @Nullable public List<String> getOtelResourceAttributes()
      OpenTelemetry resource attributes reported by the agent.
      Returns:
      otelResourceAttributes
    • setOtelResourceAttributes

      public void setOtelResourceAttributes(List<String> otelResourceAttributes)
    • podName

      public FleetAgentV2Attributes podName(String podName)
    • getPodName

      @Nullable public String getPodName()
      The Kubernetes pod name, if the agent runs as a pod.
      Returns:
      podName
    • setPodName

      public void setPodName(String podName)
    • remoteAgentManagement

      public FleetAgentV2Attributes remoteAgentManagement(String remoteAgentManagement)
    • getRemoteAgentManagement

      @Nullable public String getRemoteAgentManagement()
      The remote agent management status.
      Returns:
      remoteAgentManagement
    • setRemoteAgentManagement

      public void setRemoteAgentManagement(String remoteAgentManagement)
    • remoteConfigStatus

      public FleetAgentV2Attributes remoteConfigStatus(String remoteConfigStatus)
    • getRemoteConfigStatus

      @Nullable public String getRemoteConfigStatus()
      The remote configuration connection status of the agent.
      Returns:
      remoteConfigStatus
    • setRemoteConfigStatus

      public void setRemoteConfigStatus(String remoteConfigStatus)
    • services

      public FleetAgentV2Attributes services(List<String> services)
    • addServicesItem

      public FleetAgentV2Attributes addServicesItem(String servicesItem)
    • getServices

      @Nullable public List<String> getServices()
      Services running on the agent.
      Returns:
      services
    • setServices

      public void setServices(List<String> services)
    • tags

    • addTagsItem

    • getTags

      @Nullable public List<FleetAgentAttributesTagsItems> getTags()
      Tags associated with the agent. Returned as an empty array when the agent has no tags.
      Returns:
      tags
    • setTags

      public void setTags(List<FleetAgentAttributesTagsItems> tags)
    • team

      public FleetAgentV2Attributes team(String team)
    • getTeam

      @Nullable public String getTeam()
      The team associated with the agent.
      Returns:
      team
    • setTeam

      public void setTeam(String team)
    • putAdditionalProperty

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