@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Webhook extends Object implements Serializable, Cloneable, StructuredPojo
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
Constructor and Description |
---|
Webhook() |
Modifier and Type | Method and Description |
---|---|
Webhook |
clone() |
boolean |
equals(Object obj) |
String |
getUrl()
The URL to the webhook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUrl(String url)
The URL to the webhook.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Webhook |
withUrl(String url)
The URL to the webhook.
|
public void setUrl(String url)
The URL to the webhook.
url
- The URL to the webhook.public String getUrl()
The URL to the webhook.
public Webhook withUrl(String url)
The URL to the webhook.
url
- The URL to the webhook.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.