@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWebhookRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWebhookRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWebhookRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBranchFilter()
A regular expression used to determine which branches in a repository are built when a webhook is triggered.
|
String |
getProjectName()
The name of the AWS CodeBuild project.
|
int |
hashCode() |
void |
setBranchFilter(String branchFilter)
A regular expression used to determine which branches in a repository are built when a webhook is triggered.
|
void |
setProjectName(String projectName)
The name of the AWS CodeBuild project.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateWebhookRequest |
withBranchFilter(String branchFilter)
A regular expression used to determine which branches in a repository are built when a webhook is triggered.
|
CreateWebhookRequest |
withProjectName(String projectName)
The name of the AWS CodeBuild project.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectName(String projectName)
The name of the AWS CodeBuild project.
projectName
- The name of the AWS CodeBuild project.public String getProjectName()
The name of the AWS CodeBuild project.
public CreateWebhookRequest withProjectName(String projectName)
The name of the AWS CodeBuild project.
projectName
- The name of the AWS CodeBuild project.public void setBranchFilter(String branchFilter)
A regular expression used to determine which branches in a repository are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match, then it is not. If branchFilter is empty, then all branches are built.
branchFilter
- A regular expression used to determine which branches in a repository are built when a webhook is
triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match,
then it is not. If branchFilter is empty, then all branches are built.public String getBranchFilter()
A regular expression used to determine which branches in a repository are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match, then it is not. If branchFilter is empty, then all branches are built.
public CreateWebhookRequest withBranchFilter(String branchFilter)
A regular expression used to determine which branches in a repository are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match, then it is not. If branchFilter is empty, then all branches are built.
branchFilter
- A regular expression used to determine which branches in a repository are built when a webhook is
triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match,
then it is not. If branchFilter is empty, then all branches are built.public String toString()
toString
in class Object
Object.toString()
public CreateWebhookRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.