Klasse WebhookConfig

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.WebhookConfig

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class WebhookConfig extends Object
WebhookConfig
  • Felddetails

    • headers

      protected Map<String,String> headers
      The HTTP headers to be sent in the request when the event is occurred
    • password

      protected String password
      The password required to authenticate if authentication is enabled for the webhook endpoint.
    • truststoreAlias

      protected String truststoreAlias
      Specify the truststore that needs to be used by API Gateway while sending the request to the webhook endpoint.
    • url

      protected String url
      The URL to which API Gateway sends the payload when the event is occurred
    • username

      protected String username
      The user name required to authenticate against if authentication is enabled for the webhook endpoint.
  • Konstruktordetails

    • WebhookConfig

      public WebhookConfig(Consumer<WebhookConfig> spec)
      Constructs a validated instance of WebhookConfig.
      Parameter:
      spec - the specification to process
    • WebhookConfig

      @Internal public WebhookConfig(Map<String,String> headers, String password, String truststoreAlias, String url, String username)
      Constructs a validated instance of WebhookConfig.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using WebhookConfig(Consumer) instead.

      Parameter:
      headers - The HTTP headers to be sent in the request when the event is occurred
      password - The password required to authenticate if authentication is enabled for the webhook endpoint.
      truststoreAlias - Specify the truststore that needs to be used by API Gateway while sending the request to the webhook endpoint.
      url - The URL to which API Gateway sends the payload when the event is occurred
      username - The user name required to authenticate against if authentication is enabled for the webhook endpoint.
    • WebhookConfig

      protected WebhookConfig()
  • Methodendetails

    • builder

      public static WebhookConfig.WebhookConfigBuilder builder()
    • headers

      public Map<String,String> headers()
      The HTTP headers to be sent in the request when the event is occurred
    • password

      public String password()
      The password required to authenticate if authentication is enabled for the webhook endpoint.
    • truststoreAlias

      public String truststoreAlias()
      Specify the truststore that needs to be used by API Gateway while sending the request to the webhook endpoint.
    • url

      public String url()
      The URL to which API Gateway sends the payload when the event is occurred
    • username

      public String username()
      The user name required to authenticate against if authentication is enabled for the webhook endpoint.
    • headers

      public WebhookConfig headers(Map<String,String> headers)
      The HTTP headers to be sent in the request when the event is occurred
      Gibt zurück:
      this.
    • password

      public WebhookConfig password(String password)
      The password required to authenticate if authentication is enabled for the webhook endpoint.
      Gibt zurück:
      this.
    • truststoreAlias

      public WebhookConfig truststoreAlias(String truststoreAlias)
      Specify the truststore that needs to be used by API Gateway while sending the request to the webhook endpoint.
      Gibt zurück:
      this.
    • url

      public WebhookConfig url(String url)
      The URL to which API Gateway sends the payload when the event is occurred
      Gibt zurück:
      this.
    • username

      public WebhookConfig username(String username)
      The user name required to authenticate against if authentication is enabled for the webhook endpoint.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object