Class EventDestinationUpdateParams.Builder

java.lang.Object
com.stripe.param.v2.core.EventDestinationUpdateParams.Builder
Enclosing class:
EventDestinationUpdateParams

public static class EventDestinationUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setDescription

      public EventDestinationUpdateParams.Builder setDescription(String description)
      An optional description of what the event destination is used for.
    • setDescription

      public EventDestinationUpdateParams.Builder setDescription(EmptyParam description)
      An optional description of what the event destination is used for.
    • addEnabledEvent

      public EventDestinationUpdateParams.Builder addEnabledEvent(String element)
      Add an element to `enabledEvents` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventDestinationUpdateParams.enabledEvents for the field documentation.
    • addAllEnabledEvent

      public EventDestinationUpdateParams.Builder addAllEnabledEvent(List<String> elements)
      Add all elements to `enabledEvents` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventDestinationUpdateParams.enabledEvents for the field documentation.
    • putExtraParam

      public EventDestinationUpdateParams.Builder putExtraParam(String key, Object value)
      Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See EventDestinationUpdateParams.extraParams for the field documentation.
    • putAllExtraParam

      public EventDestinationUpdateParams.Builder putAllExtraParam(Map<String,Object> map)
      Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See EventDestinationUpdateParams.extraParams for the field documentation.
    • addInclude

      Add an element to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventDestinationUpdateParams.include for the field documentation.
    • addAllInclude

      Add all elements to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See EventDestinationUpdateParams.include for the field documentation.
    • putMetadata

      public EventDestinationUpdateParams.Builder putMetadata(String key, String value)
      Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See EventDestinationUpdateParams.metadata for the field documentation.
    • putMetadata

      public EventDestinationUpdateParams.Builder putMetadata(String key, EmptyParam value)
      Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See EventDestinationUpdateParams.metadata for the field documentation.
    • putAllMetadata

      public EventDestinationUpdateParams.Builder putAllMetadata(Map<String,Object> map)
      Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. Map values can only be one of the following types: `String`, `EmptyParam`. See EventDestinationUpdateParams.metadata for the field documentation.
    • setName

      Event destination name.
    • setName

      Event destination name.
    • setWebhookEndpoint

      Webhook endpoint configuration.