Package com.datadog.api.client.v2.model
Class GovernanceControlParameterDefinition
java.lang.Object
com.datadog.api.client.v2.model.GovernanceControlParameterDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceControlParameterDefinition
extends Object
The definition of a configurable parameter on a control or mitigation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceControlParameterDefinition(Object defaultValue, String description, String displayName, String name, Boolean required, List<GovernanceControlSupportedValue> supportedValues, String type) -
Method Summary
Modifier and TypeMethodDescriptionaddSupportedValuesItem(GovernanceControlSupportedValue supportedValuesItem) defaultValue(Object defaultValue) description(String description) displayName(String displayName) booleanReturn true if this GovernanceControlParameterDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The default value of the parameter.A human-readable description of the parameter.The human-readable name of the parameter.getName()The machine-readable name of the parameter.Whether the parameter must be provided.The supported values for an enumerated parameter.getType()The type of the parameter, such asinteger,string,boolean,enum, orpattern_list.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDefaultValue(Object defaultValue) voidsetDescription(String description) voidsetDisplayName(String displayName) voidvoidsetRequired(Boolean required) voidsetSupportedValues(List<GovernanceControlSupportedValue> supportedValues) voidsupportedValues(List<GovernanceControlSupportedValue> supportedValues) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DEFAULT_VALUE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REQUIRED
- See Also:
-
JSON_PROPERTY_SUPPORTED_VALUES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
GovernanceControlParameterDefinition
public GovernanceControlParameterDefinition() -
GovernanceControlParameterDefinition
-
-
Method Details
-
defaultValue
-
getDefaultValue
The default value of the parameter. The JSON type depends on the parameter'stype.- Returns:
- defaultValue
-
setDefaultValue
-
description
-
getDescription
A human-readable description of the parameter.- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
The human-readable name of the parameter.- Returns:
- displayName
-
setDisplayName
-
name
-
getName
The machine-readable name of the parameter.- Returns:
- name
-
setName
-
required
-
getRequired
Whether the parameter must be provided.- Returns:
- required
-
setRequired
-
supportedValues
public GovernanceControlParameterDefinition supportedValues(List<GovernanceControlSupportedValue> supportedValues) -
addSupportedValuesItem
public GovernanceControlParameterDefinition addSupportedValuesItem(GovernanceControlSupportedValue supportedValuesItem) -
getSupportedValues
The supported values for an enumerated parameter.nullwhen the parameter is not an enumerated type.- Returns:
- supportedValues
-
setSupportedValues
-
type
-
getType
The type of the parameter, such asinteger,string,boolean,enum, orpattern_list.- Returns:
- type
-
setType
-
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:
- GovernanceControlParameterDefinition
-
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 GovernanceControlParameterDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-