Class DORADeploymentObjectAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DORADeploymentObjectAttributes extends Object
The attributes of the deployment event.
  • Field Details

  • Constructor Details

    • DORADeploymentObjectAttributes

      public DORADeploymentObjectAttributes()
    • DORADeploymentObjectAttributes

      public DORADeploymentObjectAttributes(String service, OffsetDateTime startedAt)
  • Method Details

    • customTags

      public DORADeploymentObjectAttributes customTags(List<String> customTags)
    • addCustomTagsItem

      public DORADeploymentObjectAttributes addCustomTagsItem(String customTagsItem)
    • getCustomTags

      @Nullable public List<String> getCustomTags()
      A list of user-defined tags. The tags must follow the key:value pattern. Up to 100 may be added per event.
      Returns:
      customTags
    • getCustomTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getCustomTags_JsonNullable()
    • setCustomTags_JsonNullable

      public void setCustomTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> customTags)
    • setCustomTags

      public void setCustomTags(List<String> customTags)
    • env

    • getEnv

      @Nullable public String getEnv()
      Environment name to where the service was deployed.
      Returns:
      env
    • setEnv

      public void setEnv(String env)
    • finishedAt

      public DORADeploymentObjectAttributes finishedAt(OffsetDateTime finishedAt)
    • getFinishedAt

      @Nullable public OffsetDateTime getFinishedAt()
      The time when the deployment finished.
      Returns:
      finishedAt
    • setFinishedAt

      public void setFinishedAt(OffsetDateTime finishedAt)
    • git

    • getGit

      @Nullable public DORAGitInfoResponse getGit()
      Git info returned by DORA Metrics events.
      Returns:
      git
    • setGit

      public void setGit(DORAGitInfoResponse git)
    • service

      public DORADeploymentObjectAttributes service(String service)
    • getService

      public String getService()
      Service name.
      Returns:
      service
    • setService

      public void setService(String service)
    • startedAt

      public DORADeploymentObjectAttributes startedAt(OffsetDateTime startedAt)
    • getStartedAt

      public OffsetDateTime getStartedAt()
      The time when the deployment started.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(OffsetDateTime startedAt)
    • team

    • getTeam

      @Nullable public String getTeam()
      Name of the team owning the deployed service.
      Returns:
      team
    • setTeam

      public void setTeam(String team)
    • version

      public DORADeploymentObjectAttributes version(String version)
    • getVersion

      @Nullable public String getVersion()
      Version to correlate with APM Deployment Tracking.
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • putAdditionalProperty

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