@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateDeploymentRuleParamsDataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DRY_RUN |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OPTIONS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CreateDeploymentRuleParamsDataAttributes() |
CreateDeploymentRuleParamsDataAttributes(String name,
DeploymentRulesOptions options,
String type) |
| Modifier and Type | Method and Description |
|---|---|
CreateDeploymentRuleParamsDataAttributes |
dryRun(Boolean dryRun) |
boolean |
equals(Object o)
Return true if this CreateDeploymentRuleParamsDataAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getDryRun()
Whether this rule is run in dry-run mode.
|
String |
getName()
The name of the deployment rule.
|
DeploymentRulesOptions |
getOptions()
Options for deployment rule response representing either faulty deployment detection or monitor
options.
|
String |
getType()
The type of the deployment rule (faulty_deployment_detection or monitor).
|
int |
hashCode() |
CreateDeploymentRuleParamsDataAttributes |
name(String name) |
CreateDeploymentRuleParamsDataAttributes |
options(DeploymentRulesOptions options) |
CreateDeploymentRuleParamsDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDryRun(Boolean dryRun) |
void |
setName(String name) |
void |
setOptions(DeploymentRulesOptions options) |
void |
setType(String type) |
String |
toString() |
CreateDeploymentRuleParamsDataAttributes |
type(String type) |
public boolean unparsed
public static final String JSON_PROPERTY_DRY_RUN
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OPTIONS
public static final String JSON_PROPERTY_TYPE
public CreateDeploymentRuleParamsDataAttributes()
public CreateDeploymentRuleParamsDataAttributes(String name, DeploymentRulesOptions options, String type)
public CreateDeploymentRuleParamsDataAttributes dryRun(Boolean dryRun)
@Nullable public Boolean getDryRun()
public void setDryRun(Boolean dryRun)
public CreateDeploymentRuleParamsDataAttributes name(String name)
public String getName()
public void setName(String name)
public CreateDeploymentRuleParamsDataAttributes options(DeploymentRulesOptions options)
public DeploymentRulesOptions getOptions()
public void setOptions(DeploymentRulesOptions options)
public CreateDeploymentRuleParamsDataAttributes type(String type)
public String getType()
public void setType(String type)
public CreateDeploymentRuleParamsDataAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.