Class FleetDeploymentHostPackage

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentHostPackage extends Object
Package version information for a host, showing the initial version before deployment, the target version to deploy, and the current version on the host.
  • Field Details

  • Constructor Details

    • FleetDeploymentHostPackage

      public FleetDeploymentHostPackage()
  • Method Details

    • currentVersion

      public FleetDeploymentHostPackage currentVersion(String currentVersion)
    • getCurrentVersion

      @Nullable public String getCurrentVersion()
      The current version of the package on the host.
      Returns:
      currentVersion
    • setCurrentVersion

      public void setCurrentVersion(String currentVersion)
    • initialVersion

      public FleetDeploymentHostPackage initialVersion(String initialVersion)
    • getInitialVersion

      @Nullable public String getInitialVersion()
      The initial version of the package on the host before the deployment started.
      Returns:
      initialVersion
    • setInitialVersion

      public void setInitialVersion(String initialVersion)
    • packageName

      public FleetDeploymentHostPackage packageName(String packageName)
    • getPackageName

      @Nullable public String getPackageName()
      The name of the package.
      Returns:
      packageName
    • setPackageName

      public void setPackageName(String packageName)
    • targetVersion

      public FleetDeploymentHostPackage targetVersion(String targetVersion)
    • getTargetVersion

      @Nullable public String getTargetVersion()
      The target version that the deployment is attempting to install.
      Returns:
      targetVersion
    • setTargetVersion

      public void setTargetVersion(String targetVersion)
    • putAdditionalProperty

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