Class ProjectSpendAlert.NotificationChannel
-
- All Implemented Interfaces:
public final class ProjectSpendAlert.NotificationChannelEmail notification settings for a spend alert.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectSpendAlert.NotificationChannel.BuilderA builder for NotificationChannel.
-
Method Summary
Modifier and Type Method Description final List<String>recipients()Email addresses that receive the spend alert notification. final JsonValue_type()The notification channel type. final Optional<String>subjectPrefix()Optional subject prefix for alert emails. final JsonField<List<String>>_recipients()Returns the raw JSON value of recipients. final JsonField<String>_subjectPrefix()Returns the raw JSON value of subjectPrefix. final Map<String, JsonValue>_additionalProperties()final ProjectSpendAlert.NotificationChannel.BuildertoBuilder()final ProjectSpendAlert.NotificationChannelvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectSpendAlert.NotificationChannel.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationChannel. -
-
Method Detail
-
recipients
final List<String> recipients()
Email addresses that receive the spend alert notification.
-
_type
final JsonValue _type()
The notification channel type. Currently only
emailis supported.Expected to always return the following:
JsonValue.from("email")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
subjectPrefix
final Optional<String> subjectPrefix()
Optional subject prefix for alert emails.
-
_recipients
final JsonField<List<String>> _recipients()
Returns the raw JSON value of recipients.
Unlike recipients, this method doesn't throw if the JSON field has an unexpected type.
-
_subjectPrefix
final JsonField<String> _subjectPrefix()
Returns the raw JSON value of subjectPrefix.
Unlike subjectPrefix, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectSpendAlert.NotificationChannel.Builder toBuilder()
-
validate
final ProjectSpendAlert.NotificationChannel validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ProjectSpendAlert.NotificationChannel.Builder builder()
Returns a mutable builder for constructing an instance of NotificationChannel.
The following fields are required:
.recipients()
-
-
-
-