Class SpendAlertUpdateParams.NotificationChannel.Builder
-
- All Implemented Interfaces:
public final class SpendAlertUpdateParams.NotificationChannel.BuilderA builder for NotificationChannel.
-
-
Method Summary
-
-
Method Detail
-
recipients
final SpendAlertUpdateParams.NotificationChannel.Builder recipients(List<String> recipients)
Email addresses that receive the spend alert notification.
-
recipients
final SpendAlertUpdateParams.NotificationChannel.Builder recipients(JsonField<List<String>> recipients)
Sets Builder.recipients to an arbitrary JSON value.
You should usually call Builder.recipients with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRecipient
final SpendAlertUpdateParams.NotificationChannel.Builder addRecipient(String recipient)
Adds a single String to recipients.
-
type
final SpendAlertUpdateParams.NotificationChannel.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("email")This method is primarily for setting the field to an undocumented or not yet supported value.
-
subjectPrefix
final SpendAlertUpdateParams.NotificationChannel.Builder subjectPrefix(String subjectPrefix)
Optional subject prefix for alert emails.
-
subjectPrefix
final SpendAlertUpdateParams.NotificationChannel.Builder subjectPrefix(Optional<String> subjectPrefix)
Alias for calling Builder.subjectPrefix with
subjectPrefix.orElse(null).
-
subjectPrefix
final SpendAlertUpdateParams.NotificationChannel.Builder subjectPrefix(JsonField<String> subjectPrefix)
Sets Builder.subjectPrefix to an arbitrary JSON value.
You should usually call Builder.subjectPrefix with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SpendAlertUpdateParams.NotificationChannel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SpendAlertUpdateParams.NotificationChannel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SpendAlertUpdateParams.NotificationChannel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SpendAlertUpdateParams.NotificationChannel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SpendAlertUpdateParams.NotificationChannel.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SpendAlertUpdateParams.NotificationChannel build()
Returns an immutable instance of NotificationChannel.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.recipients()
-
-
-
-