Interface WebhookAuthConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WebhookAuthConfiguration.Builder,,WebhookAuthConfiguration> SdkBuilder<WebhookAuthConfiguration.Builder,,WebhookAuthConfiguration> SdkPojo
- Enclosing class:
WebhookAuthConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault WebhookAuthConfiguration.BuilderbasicHttpAuthConfiguration(Consumer<WebhookBasicHttpAuthConfiguration.Builder> basicHttpAuthConfiguration) The provider uses HTTP Basic authentication.basicHttpAuthConfiguration(WebhookBasicHttpAuthConfiguration basicHttpAuthConfiguration) The provider uses HTTP Basic authentication.default WebhookAuthConfiguration.BuilderhmacAuthConfiguration(Consumer<WebhookHmacAuthConfiguration.Builder> hmacAuthConfiguration) The provider signs each request with an HMAC of the secret.hmacAuthConfiguration(WebhookHmacAuthConfiguration hmacAuthConfiguration) The provider signs each request with an HMAC of the secret.default WebhookAuthConfiguration.BuilderstaticTokenAuthConfiguration(Consumer<WebhookStaticTokenAuthConfiguration.Builder> staticTokenAuthConfiguration) The provider sends a static token in an HTTP header.staticTokenAuthConfiguration(WebhookStaticTokenAuthConfiguration staticTokenAuthConfiguration) The provider sends a static token in an HTTP header.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
staticTokenAuthConfiguration
WebhookAuthConfiguration.Builder staticTokenAuthConfiguration(WebhookStaticTokenAuthConfiguration staticTokenAuthConfiguration) The provider sends a static token in an HTTP header.
- Parameters:
staticTokenAuthConfiguration- The provider sends a static token in an HTTP header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticTokenAuthConfiguration
default WebhookAuthConfiguration.Builder staticTokenAuthConfiguration(Consumer<WebhookStaticTokenAuthConfiguration.Builder> staticTokenAuthConfiguration) The provider sends a static token in an HTTP header.
This is a convenience method that creates an instance of theWebhookStaticTokenAuthConfiguration.Builderavoiding the need to create one manually viaWebhookStaticTokenAuthConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostaticTokenAuthConfiguration(WebhookStaticTokenAuthConfiguration).- Parameters:
staticTokenAuthConfiguration- a consumer that will call methods onWebhookStaticTokenAuthConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
basicHttpAuthConfiguration
WebhookAuthConfiguration.Builder basicHttpAuthConfiguration(WebhookBasicHttpAuthConfiguration basicHttpAuthConfiguration) The provider uses HTTP Basic authentication.
- Parameters:
basicHttpAuthConfiguration- The provider uses HTTP Basic authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicHttpAuthConfiguration
default WebhookAuthConfiguration.Builder basicHttpAuthConfiguration(Consumer<WebhookBasicHttpAuthConfiguration.Builder> basicHttpAuthConfiguration) The provider uses HTTP Basic authentication.
This is a convenience method that creates an instance of theWebhookBasicHttpAuthConfiguration.Builderavoiding the need to create one manually viaWebhookBasicHttpAuthConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobasicHttpAuthConfiguration(WebhookBasicHttpAuthConfiguration).- Parameters:
basicHttpAuthConfiguration- a consumer that will call methods onWebhookBasicHttpAuthConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hmacAuthConfiguration
WebhookAuthConfiguration.Builder hmacAuthConfiguration(WebhookHmacAuthConfiguration hmacAuthConfiguration) The provider signs each request with an HMAC of the secret.
- Parameters:
hmacAuthConfiguration- The provider signs each request with an HMAC of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hmacAuthConfiguration
default WebhookAuthConfiguration.Builder hmacAuthConfiguration(Consumer<WebhookHmacAuthConfiguration.Builder> hmacAuthConfiguration) The provider signs each request with an HMAC of the secret.
This is a convenience method that creates an instance of theWebhookHmacAuthConfiguration.Builderavoiding the need to create one manually viaWebhookHmacAuthConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohmacAuthConfiguration(WebhookHmacAuthConfiguration).- Parameters:
hmacAuthConfiguration- a consumer that will call methods onWebhookHmacAuthConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-