Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfiguration(DeploymentGatesEvaluationConfiguration configuration) booleanReturn true if this DeploymentGatesEvaluationRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Inline rule definitions for a deployment gate evaluation.getEnv()The environment of the deployment.The identifier of the deployment gate.A primary tag to scope APM Faulty Deployment Detection rules.The service being deployed.The version of the deployment.inthashCode()identifier(String identifier) primaryTag(String primaryTag) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfiguration(DeploymentGatesEvaluationConfiguration configuration) voidvoidsetIdentifier(String identifier) voidsetPrimaryTag(String primaryTag) voidsetService(String service) voidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIGURATION
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRIMARY_TAG
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
DeploymentGatesEvaluationRequestAttributes
public DeploymentGatesEvaluationRequestAttributes() -
DeploymentGatesEvaluationRequestAttributes
-
-
Method Details
-
configuration
public DeploymentGatesEvaluationRequestAttributes configuration(DeploymentGatesEvaluationConfiguration configuration) -
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
-
env
-
getEnv
The environment of the deployment.- Returns:
- env
-
setEnv
-
identifier
-
getIdentifier
The identifier of the deployment gate. Defaults to "default".- Returns:
- identifier
-
setIdentifier
-
-
getPrimaryTag
A primary tag to scope APM Faulty Deployment Detection rules.- Returns:
- primaryTag
-
setPrimaryTag
-
service
-
getService
The service being deployed.- Returns:
- service
-
setService
-
version
-
getVersion
The version of the deployment. Required for APM Faulty Deployment Detection rules.- Returns:
- version
-
setVersion
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- DeploymentGatesEvaluationRequestAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this DeploymentGatesEvaluationRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-