Class DeploymentGatesEvaluationRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DeploymentGatesEvaluationRequestAttributes extends Object
Attributes for a deployment gate evaluation request. When configuration is provided, rules are evaluated inline from that configuration. When omitted, rules are resolved from the preconfigured gate for the given service and environment.
  • Field Details

  • Constructor Details

    • DeploymentGatesEvaluationRequestAttributes

      public DeploymentGatesEvaluationRequestAttributes()
    • DeploymentGatesEvaluationRequestAttributes

      public DeploymentGatesEvaluationRequestAttributes(String env, String service)
  • Method Details

    • configuration

    • getConfiguration

      @Nullable public DeploymentGatesEvaluationConfiguration getConfiguration()
      Inline rule definitions for a deployment gate evaluation. When provided, rules are evaluated directly from this configuration instead of using the preconfigured gate rules. At least one rule is required.
      Returns:
      configuration
    • setConfiguration

      public void setConfiguration(DeploymentGatesEvaluationConfiguration configuration)
    • env

    • getEnv

      public String getEnv()
      The environment of the deployment.
      Returns:
      env
    • setEnv

      public void setEnv(String env)
    • identifier

      public DeploymentGatesEvaluationRequestAttributes identifier(String identifier)
    • getIdentifier

      @Nullable public String getIdentifier()
      The identifier of the deployment gate. Defaults to "default".
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • primaryTag

      public DeploymentGatesEvaluationRequestAttributes primaryTag(String primaryTag)
    • getPrimaryTag

      @Nullable public String getPrimaryTag()
      A primary tag to scope APM Faulty Deployment Detection rules.
      Returns:
      primaryTag
    • setPrimaryTag

      public void setPrimaryTag(String primaryTag)
    • service

    • getService

      public String getService()
      The service being deployed.
      Returns:
      service
    • setService

      public void setService(String service)
    • version

    • getVersion

      @Nullable public String getVersion()
      The version of the deployment. Required for APM Faulty Deployment Detection rules.
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • putAdditionalProperty

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