Package com.datadog.api.client.v2.model
Class CreateDegradationTemplateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateDegradationTemplateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateDegradationTemplateRequestDataAttributes
extends Object
The attributes for creating a degradation template.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) degradationTitle(String degradationTitle) booleanReturn true if this CreateDegradationTemplateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected by a degradation created from this template.The title used for a degradation created from this template.getName()The name of the degradation template.The pre-filled updates for a degradation created from this template.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetDegradationTitle(String degradationTitle) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DEGRADATION_TITLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UPDATES
- See Also:
-
-
Constructor Details
-
CreateDegradationTemplateRequestDataAttributes
public CreateDegradationTemplateRequestDataAttributes() -
CreateDegradationTemplateRequestDataAttributes
-
-
Method Details
-
componentsAffected
public CreateDegradationTemplateRequestDataAttributes componentsAffected(List<CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public CreateDegradationTemplateRequestDataAttributes addComponentsAffectedItem(CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by a degradation created from this template.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) -
degradationTitle
-
getDegradationTitle
The title used for a degradation created from this template.- Returns:
- degradationTitle
-
setDegradationTitle
-
name
-
getName
The name of the degradation template.- Returns:
- name
-
setName
-
updates
public CreateDegradationTemplateRequestDataAttributes updates(List<CreateDegradationTemplateRequestDataAttributesUpdatesItems> updates) -
addUpdatesItem
public CreateDegradationTemplateRequestDataAttributes addUpdatesItem(CreateDegradationTemplateRequestDataAttributesUpdatesItems updatesItem) -
getUpdates
The pre-filled updates for a degradation created from this template.- Returns:
- updates
-
setUpdates
-
putAdditionalProperty
public CreateDegradationTemplateRequestDataAttributes 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 setvalue- The associated value- Returns:
- CreateDegradationTemplateRequestDataAttributes
-
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 CreateDegradationTemplateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-