@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WebhookAuthConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The authentication applied to incoming webhook trigger requests.
| Constructor and Description |
|---|
WebhookAuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
WebhookAuthConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAllowedIPRange()
The property used to configure acceptance of webhooks in an IP address range.
|
String |
getSecretToken()
The property used to configure GitHub authentication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowedIPRange(String allowedIPRange)
The property used to configure acceptance of webhooks in an IP address range.
|
void |
setSecretToken(String secretToken)
The property used to configure GitHub authentication.
|
String |
toString()
Returns a string representation of this object.
|
WebhookAuthConfiguration |
withAllowedIPRange(String allowedIPRange)
The property used to configure acceptance of webhooks in an IP address range.
|
WebhookAuthConfiguration |
withSecretToken(String secretToken)
The property used to configure GitHub authentication.
|
public void setAllowedIPRange(String 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.
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.public String getAllowedIPRange()
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.
AllowedIPRange property must be set. This property must be set to a valid CIDR range.public WebhookAuthConfiguration withAllowedIPRange(String 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.
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.public void setSecretToken(String secretToken)
The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property
must be set.
secretToken - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken
property must be set.public String getSecretToken()
The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property
must be set.
SecretToken
property must be set.public WebhookAuthConfiguration withSecretToken(String secretToken)
The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property
must be set.
secretToken - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken
property must be set.public String toString()
toString in class ObjectObject.toString()public WebhookAuthConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.