Class FleetOtelCollectorConfigurationV2

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetOtelCollectorConfigurationV2 extends Object
Configuration for a single OpenTelemetry collector associated with the agent.
  • Field Details

  • Constructor Details

    • FleetOtelCollectorConfigurationV2

      public FleetOtelCollectorConfigurationV2()
  • Method Details

    • collectorId

      public FleetOtelCollectorConfigurationV2 collectorId(String collectorId)
    • getCollectorId

      @Nullable public String getCollectorId()
      The unique identifier of the OpenTelemetry collector.
      Returns:
      collectorId
    • setCollectorId

      public void setCollectorId(String collectorId)
    • compiledConfiguration

      public FleetOtelCollectorConfigurationV2 compiledConfiguration(String compiledConfiguration)
    • getCompiledConfiguration

      @Nullable public String getCompiledConfiguration()
      The final compiled configuration of the OpenTelemetry collector.
      Returns:
      compiledConfiguration
    • setCompiledConfiguration

      public void setCompiledConfiguration(String compiledConfiguration)
    • distribution

      public FleetOtelCollectorConfigurationV2 distribution(String distribution)
    • getDistribution

      @Nullable public String getDistribution()
      The distribution of the OpenTelemetry collector.
      Returns:
      distribution
    • setDistribution

      public void setDistribution(String distribution)
    • putAdditionalProperty

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