Class DORADeploymentRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DORADeploymentRequestAttributes extends Object
Attributes to create a DORA deployment event.
  • Field Details

  • Constructor Details

    • DORADeploymentRequestAttributes

      public DORADeploymentRequestAttributes()
    • DORADeploymentRequestAttributes

      public DORADeploymentRequestAttributes(Long finishedAt, String service, Long startedAt)
  • Method Details

    • customTags

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

      public DORADeploymentRequestAttributes 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 DORADeploymentRequestAttributes finishedAt(Long finishedAt)
    • getFinishedAt

      public Long getFinishedAt()
      Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds.
      Returns:
      finishedAt
    • setFinishedAt

      public void setFinishedAt(Long finishedAt)
    • git

    • getGit

      @Nullable public DORAGitInfo getGit()
      Git info for DORA Metrics events.
      Returns:
      git
    • setGit

      public void setGit(DORAGitInfo git)
    • id

    • getId

      @Nullable public String getId()
      Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
      Returns:
      id
    • setId

      public void setId(String id)
    • service

      public DORADeploymentRequestAttributes service(String service)
    • getService

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

      public void setService(String service)
    • startedAt

      public DORADeploymentRequestAttributes startedAt(Long startedAt)
    • getStartedAt

      public Long getStartedAt()
      Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(Long startedAt)
    • team

    • getTeam

      @Nullable public String getTeam()
      Name of the team owning the deployed service. If not provided, this is automatically populated with the team associated with the service in the Service Catalog.
      Returns:
      team
    • setTeam

      public void setTeam(String team)
    • version

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