Package com.datadog.api.client.v2.model
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEnabledProductsItem(String enabledProductsItem) addEnvItem(String envItem) addFleetPoliciesItem(String fleetPoliciesItem) addIntegrationsItem(String integrationsItem) addIpAddressesItem(String ipAddressesItem) addOtelCollectorDeploymentTypesItem(String otelCollectorDeploymentTypesItem) addOtelCollectorDistributionsItem(String otelCollectorDistributionsItem) addOtelCollectorVersionsItem(String otelCollectorVersionsItem) addOtelResourceAttributesItem(String otelResourceAttributesItem) addServicesItem(String servicesItem) addTagsItem(FleetAgentAttributesTagsItems tagsItem) agentVersion(String agentVersion) apiKeyName(String apiKeyName) apiKeyUuid(String apiKeyUuid) cloudProvider(String cloudProvider) clusterName(String clusterName) datadogDataCenter(String datadogDataCenter) ecsFargateClusterName(String ecsFargateClusterName) ecsFargateTaskArn(String ecsFargateTaskArn) enabledProducts(List<String> enabledProducts) booleanReturn true if this FleetAgentV2Attributes object is equal to o.firstSeenAt(Long firstSeenAt) fleetPolicies(List<String> fleetPolicies) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Datadog Agent version.The name of the API key used by the agent, if available and not redacted.The UUID of the API key used by the agent.The cloud provider where the agent is running.The Kubernetes cluster name, if the agent runs in a cluster.The Datadog data center the agent reports to.The ECS Fargate cluster name, if the agent runs in an ECS Fargate environment.The ECS Fargate task ARN, if the agent runs in an ECS Fargate environment.Datadog products enabled on the agent.getEnv()Environments the agent is reporting from.Unix timestamp when the agent was first seen.Identifiers of fleet policies applied to the agent.The hostname of the agent.Number of instrumentation errors on the agent.The single-step instrumentation status of the Agent.Names of integrations configured on the agent.IP addresses of the agent host.Whether single-step instrumentation is enabled on the agent.Unix timestamp of the last agent restart.getOs()The operating system of the host.OpenTelemetry collector deployment types associated with the agent.OpenTelemetry collector distributions associated with the agent.All OpenTelemetry collector versions associated with the agent.OpenTelemetry resource attributes reported by the agent.The Kubernetes pod name, if the agent runs as a pod.The remote agent management status.The remote configuration connection status of the agent.Services running on the agent.getTags()Tags associated with the agent.getTeam()The team associated with the agent.inthashCode()instrumentationErrorCounts(Long instrumentationErrorCounts) instrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus) integrations(List<String> integrations) ipAddresses(List<String> ipAddresses) isSingleStepInstrumentationEnabled(Boolean isSingleStepInstrumentationEnabled) lastRestartAt(Long lastRestartAt) otelCollectorDeploymentTypes(List<String> otelCollectorDeploymentTypes) otelCollectorDistributions(List<String> otelCollectorDistributions) otelCollectorVersions(List<String> otelCollectorVersions) otelResourceAttributes(List<String> otelResourceAttributes) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remoteAgentManagement(String remoteAgentManagement) remoteConfigStatus(String remoteConfigStatus) voidsetAgentVersion(String agentVersion) voidsetApiKeyName(String apiKeyName) voidsetApiKeyUuid(String apiKeyUuid) voidsetCloudProvider(String cloudProvider) voidsetClusterName(String clusterName) voidsetDatadogDataCenter(String datadogDataCenter) voidsetEcsFargateClusterName(String ecsFargateClusterName) voidsetEcsFargateTaskArn(String ecsFargateTaskArn) voidsetEnabledProducts(List<String> enabledProducts) voidvoidsetFirstSeenAt(Long firstSeenAt) voidsetFleetPolicies(List<String> fleetPolicies) voidsetHostname(String hostname) voidsetInstrumentationErrorCounts(Long instrumentationErrorCounts) voidsetInstrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus) voidsetIntegrations(List<String> integrations) voidsetIpAddresses(List<String> ipAddresses) voidsetIsSingleStepInstrumentationEnabled(Boolean isSingleStepInstrumentationEnabled) voidsetLastRestartAt(Long lastRestartAt) voidvoidsetOtelCollectorDeploymentTypes(List<String> otelCollectorDeploymentTypes) voidsetOtelCollectorDistributions(List<String> otelCollectorDistributions) voidsetOtelCollectorVersions(List<String> otelCollectorVersions) voidsetOtelResourceAttributes(List<String> otelResourceAttributes) voidsetPodName(String podName) voidsetRemoteAgentManagement(String remoteAgentManagement) voidsetRemoteConfigStatus(String remoteConfigStatus) voidsetServices(List<String> services) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGENT_VERSION
- See Also:
-
JSON_PROPERTY_API_KEY_NAME
- See Also:
-
JSON_PROPERTY_API_KEY_UUID
- See Also:
-
JSON_PROPERTY_CLOUD_PROVIDER
- See Also:
-
JSON_PROPERTY_CLUSTER_NAME
- See Also:
-
JSON_PROPERTY_DATADOG_DATA_CENTER
- See Also:
-
JSON_PROPERTY_ECS_FARGATE_CLUSTER_NAME
- See Also:
-
JSON_PROPERTY_ECS_FARGATE_TASK_ARN
- See Also:
-
JSON_PROPERTY_ENABLED_PRODUCTS
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_FIRST_SEEN_AT
- See Also:
-
JSON_PROPERTY_FLEET_POLICIES
- See Also:
-
JSON_PROPERTY_HOSTNAME
- See Also:
-
JSON_PROPERTY_INSTRUMENTATION_ERROR_COUNTS
- See Also:
-
JSON_PROPERTY_INSTRUMENTATION_STATUS
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- See Also:
-
JSON_PROPERTY_IP_ADDRESSES
- See Also:
-
JSON_PROPERTY_IS_SINGLE_STEP_INSTRUMENTATION_ENABLED
- See Also:
-
JSON_PROPERTY_LAST_RESTART_AT
- See Also:
-
JSON_PROPERTY_OS
- See Also:
-
JSON_PROPERTY_OTEL_COLLECTOR_DEPLOYMENT_TYPES
- See Also:
-
JSON_PROPERTY_OTEL_COLLECTOR_DISTRIBUTIONS
- See Also:
-
JSON_PROPERTY_OTEL_COLLECTOR_VERSIONS
- See Also:
-
JSON_PROPERTY_OTEL_RESOURCE_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_POD_NAME
- See Also:
-
JSON_PROPERTY_REMOTE_AGENT_MANAGEMENT
- See Also:
-
JSON_PROPERTY_REMOTE_CONFIG_STATUS
- See Also:
-
JSON_PROPERTY_SERVICES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEAM
- See Also:
-
-
Constructor Details
-
FleetAgentV2Attributes
public FleetAgentV2Attributes()
-
-
Method Details
-
agentVersion
-
getAgentVersion
The Datadog Agent version.- Returns:
- agentVersion
-
setAgentVersion
-
apiKeyName
-
getApiKeyName
The name of the API key used by the agent, if available and not redacted.- Returns:
- apiKeyName
-
setApiKeyName
-
apiKeyUuid
-
getApiKeyUuid
The UUID of the API key used by the agent.- Returns:
- apiKeyUuid
-
setApiKeyUuid
-
cloudProvider
-
getCloudProvider
The cloud provider where the agent is running.- Returns:
- cloudProvider
-
setCloudProvider
-
clusterName
-
getClusterName
The Kubernetes cluster name, if the agent runs in a cluster.- Returns:
- clusterName
-
setClusterName
-
datadogDataCenter
-
getDatadogDataCenter
The Datadog data center the agent reports to.- Returns:
- datadogDataCenter
-
setDatadogDataCenter
-
ecsFargateClusterName
-
getEcsFargateClusterName
The ECS Fargate cluster name, if the agent runs in an ECS Fargate environment.- Returns:
- ecsFargateClusterName
-
setEcsFargateClusterName
-
ecsFargateTaskArn
-
getEcsFargateTaskArn
The ECS Fargate task ARN, if the agent runs in an ECS Fargate environment.- Returns:
- ecsFargateTaskArn
-
setEcsFargateTaskArn
-
enabledProducts
-
addEnabledProductsItem
-
getEnabledProducts
Datadog products enabled on the agent.- Returns:
- enabledProducts
-
setEnabledProducts
-
env
-
addEnvItem
-
getEnv
Environments the agent is reporting from.- Returns:
- env
-
setEnv
-
firstSeenAt
-
getFirstSeenAt
Unix timestamp when the agent was first seen.- Returns:
- firstSeenAt
-
setFirstSeenAt
-
fleetPolicies
-
addFleetPoliciesItem
-
getFleetPolicies
Identifiers of fleet policies applied to the agent.- Returns:
- fleetPolicies
-
setFleetPolicies
-
hostname
-
getHostname
The hostname of the agent.- Returns:
- hostname
-
setHostname
-
instrumentationErrorCounts
-
getInstrumentationErrorCounts
Number of instrumentation errors on the agent. Absent from the response when the count is zero.- Returns:
- instrumentationErrorCounts
-
setInstrumentationErrorCounts
-
instrumentationStatus
public FleetAgentV2Attributes instrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus) -
getInstrumentationStatus
The single-step instrumentation status of the Agent.- Returns:
- instrumentationStatus
-
setInstrumentationStatus
public void setInstrumentationStatus(FleetAgentV2AttributesInstrumentationStatus instrumentationStatus) -
integrations
-
addIntegrationsItem
-
getIntegrations
Names of integrations configured on the agent.- Returns:
- integrations
-
setIntegrations
-
ipAddresses
-
addIpAddressesItem
-
getIpAddresses
IP addresses of the agent host.- Returns:
- ipAddresses
-
setIpAddresses
-
isSingleStepInstrumentationEnabled
public FleetAgentV2Attributes isSingleStepInstrumentationEnabled(Boolean isSingleStepInstrumentationEnabled) -
getIsSingleStepInstrumentationEnabled
Whether single-step instrumentation is enabled on the agent.- Returns:
- isSingleStepInstrumentationEnabled
-
setIsSingleStepInstrumentationEnabled
-
lastRestartAt
-
getLastRestartAt
Unix timestamp of the last agent restart.- Returns:
- lastRestartAt
-
setLastRestartAt
-
os
-
getOs
The operating system of the host.- Returns:
- os
-
setOs
-
otelCollectorDeploymentTypes
public FleetAgentV2Attributes otelCollectorDeploymentTypes(List<String> otelCollectorDeploymentTypes) -
addOtelCollectorDeploymentTypesItem
public FleetAgentV2Attributes addOtelCollectorDeploymentTypesItem(String otelCollectorDeploymentTypesItem) -
getOtelCollectorDeploymentTypes
OpenTelemetry collector deployment types associated with the agent.- Returns:
- otelCollectorDeploymentTypes
-
setOtelCollectorDeploymentTypes
-
otelCollectorDistributions
-
addOtelCollectorDistributionsItem
public FleetAgentV2Attributes addOtelCollectorDistributionsItem(String otelCollectorDistributionsItem) -
getOtelCollectorDistributions
OpenTelemetry collector distributions associated with the agent.- Returns:
- otelCollectorDistributions
-
setOtelCollectorDistributions
-
otelCollectorVersions
-
addOtelCollectorVersionsItem
-
getOtelCollectorVersions
All OpenTelemetry collector versions associated with the agent.- Returns:
- otelCollectorVersions
-
setOtelCollectorVersions
-
otelResourceAttributes
-
addOtelResourceAttributesItem
-
getOtelResourceAttributes
OpenTelemetry resource attributes reported by the agent.- Returns:
- otelResourceAttributes
-
setOtelResourceAttributes
-
podName
-
getPodName
The Kubernetes pod name, if the agent runs as a pod.- Returns:
- podName
-
setPodName
-
remoteAgentManagement
-
getRemoteAgentManagement
The remote agent management status.- Returns:
- remoteAgentManagement
-
setRemoteAgentManagement
-
remoteConfigStatus
-
getRemoteConfigStatus
The remote configuration connection status of the agent.- Returns:
- remoteConfigStatus
-
setRemoteConfigStatus
-
services
-
addServicesItem
-
getServices
Services running on the agent.- Returns:
- services
-
setServices
-
tags
-
addTagsItem
-
getTags
Tags associated with the agent. Returned as an empty array when the agent has no tags.- Returns:
- tags
-
setTags
-
team
-
getTeam
The team associated with the agent.- Returns:
- team
-
setTeam
-
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:
- FleetAgentV2Attributes
-
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 FleetAgentV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-