public static final class CfnWebhook.WebhookAuthConfigurationProperty.Builder
extends java.lang.Object
CfnWebhook.WebhookAuthConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebhook.WebhookAuthConfigurationProperty.Builder |
allowedIpRange(java.lang.String allowedIpRange)
Sets the value of
CfnWebhook.WebhookAuthConfigurationProperty.getAllowedIpRange() |
CfnWebhook.WebhookAuthConfigurationProperty |
build()
Builds the configured instance.
|
CfnWebhook.WebhookAuthConfigurationProperty.Builder |
secretToken(java.lang.String secretToken)
Sets the value of
CfnWebhook.WebhookAuthConfigurationProperty.getSecretToken() |
public CfnWebhook.WebhookAuthConfigurationProperty.Builder allowedIpRange(java.lang.String allowedIpRange)
CfnWebhook.WebhookAuthConfigurationProperty.getAllowedIpRange()
allowedIpRange
- The property used to configure acceptance of webhooks in an IP address range.
For IP, only the AllowedIPRange
property must be set. This property must be set to a valid CIDR range.this
public CfnWebhook.WebhookAuthConfigurationProperty.Builder secretToken(java.lang.String secretToken)
CfnWebhook.WebhookAuthConfigurationProperty.getSecretToken()
secretToken
- The property used to configure GitHub authentication.
For GITHUB_HMAC, only the SecretToken
property must be set.this
public CfnWebhook.WebhookAuthConfigurationProperty build()
CfnWebhook.WebhookAuthConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided