Class EventSubscriptionUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class EventSubscriptionUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
url
final EventSubscriptionUpdateParams.Body.Builder url(String url)
URL to which event webhooks will be sent. URL must be a valid HTTPS address.
-
url
final EventSubscriptionUpdateParams.Body.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final EventSubscriptionUpdateParams.Body.Builder description(String description)
Event subscription description.
-
description
final EventSubscriptionUpdateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
disabled
final EventSubscriptionUpdateParams.Body.Builder disabled(Boolean disabled)
Whether the event subscription is active (false) or inactive (true).
-
disabled
final EventSubscriptionUpdateParams.Body.Builder disabled(JsonField<Boolean> disabled)
Sets Builder.disabled to an arbitrary JSON value.
You should usually call Builder.disabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventTypes
final EventSubscriptionUpdateParams.Body.Builder eventTypes(List<EventSubscriptionUpdateParams.EventType> eventTypes)
Indicates types of events that will be sent to this subscription. If left blank, all types will be sent.
-
eventTypes
final EventSubscriptionUpdateParams.Body.Builder eventTypes(JsonField<List<EventSubscriptionUpdateParams.EventType>> eventTypes)
Sets Builder.eventTypes to an arbitrary JSON value.
You should usually call Builder.eventTypes with a well-typed
List<EventType>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEventType
final EventSubscriptionUpdateParams.Body.Builder addEventType(EventSubscriptionUpdateParams.EventType eventType)
Adds a single EventType to eventTypes.
-
additionalProperties
final EventSubscriptionUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EventSubscriptionUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EventSubscriptionUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EventSubscriptionUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EventSubscriptionUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EventSubscriptionUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.url()
-
-
-
-