Class B2WebhookConfiguration
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2EventNotificationTargetConfiguration
-
- com.backblaze.b2.client.structures.B2WebhookConfiguration
-
public class B2WebhookConfiguration extends B2EventNotificationTargetConfiguration
Webhook destination for B2EventNotificationRule
-
-
Constructor Summary
Constructors Constructor Description B2WebhookConfiguration(java.lang.String url)
B2WebhookConfiguration(java.lang.String url, java.lang.String hmacSha256SigningSecret)
B2WebhookConfiguration(java.lang.String url, java.util.TreeSet<B2WebhookCustomHeader> customHeaders)
B2WebhookConfiguration(java.lang.String url, java.util.TreeSet<B2WebhookCustomHeader> customHeaders, java.lang.String hmacSha256SigningSecret, java.lang.Integer maxEventsPerBatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.TreeSet<B2WebhookCustomHeader>
getCustomHeaders()
java.lang.String
getHmacSha256SigningSecret()
java.lang.Integer
getMaxEventsPerBatch()
java.lang.String
getUrl()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.backblaze.b2.client.structures.B2EventNotificationTargetConfiguration
getUnionTypeMap
-
-
-
-
Constructor Detail
-
B2WebhookConfiguration
public B2WebhookConfiguration(java.lang.String url, java.util.TreeSet<B2WebhookCustomHeader> customHeaders, java.lang.String hmacSha256SigningSecret, java.lang.Integer maxEventsPerBatch)
-
B2WebhookConfiguration
public B2WebhookConfiguration(java.lang.String url)
-
B2WebhookConfiguration
public B2WebhookConfiguration(java.lang.String url, java.util.TreeSet<B2WebhookCustomHeader> customHeaders)
-
B2WebhookConfiguration
public B2WebhookConfiguration(java.lang.String url, java.lang.String hmacSha256SigningSecret)
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
-
getCustomHeaders
public java.util.TreeSet<B2WebhookCustomHeader> getCustomHeaders()
-
getHmacSha256SigningSecret
public java.lang.String getHmacSha256SigningSecret()
-
getMaxEventsPerBatch
public java.lang.Integer getMaxEventsPerBatch()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-