Package com.datadog.api.client.v2.model
Class CreateEmailNotificationChannelConfig
java.lang.Object
com.datadog.api.client.v2.model.CreateEmailNotificationChannelConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateEmailNotificationChannelConfig
extends Object
Configuration to create an e-mail notification channel
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateEmailNotificationChannelConfig(String address, List<NotificationChannelEmailFormatType> formats, NotificationChannelEmailConfigType type) -
Method Summary
Modifier and TypeMethodDescriptionaddFormatsItem(NotificationChannelEmailFormatType formatsItem) booleanReturn true if this CreateEmailNotificationChannelConfig object is equal to o.formats(List<NotificationChannelEmailFormatType> formats) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The e-mail address to be notifiedPreferred content formats for notifications.getType()Indicates that the notification channel is an e-mail addressinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddress(String address) voidsetFormats(List<NotificationChannelEmailFormatType> formats) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_FORMATS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateEmailNotificationChannelConfig
public CreateEmailNotificationChannelConfig() -
CreateEmailNotificationChannelConfig
public CreateEmailNotificationChannelConfig(String address, List<NotificationChannelEmailFormatType> formats, NotificationChannelEmailConfigType type)
-
-
Method Details
-
address
-
getAddress
The e-mail address to be notified- Returns:
- address
-
setAddress
-
formats
public CreateEmailNotificationChannelConfig formats(List<NotificationChannelEmailFormatType> formats) -
addFormatsItem
public CreateEmailNotificationChannelConfig addFormatsItem(NotificationChannelEmailFormatType formatsItem) -
getFormats
Preferred content formats for notifications.- Returns:
- formats
-
setFormats
-
type
-
getType
Indicates that the notification channel is an e-mail address- 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:
- CreateEmailNotificationChannelConfig
-
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 CreateEmailNotificationChannelConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-