@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWebhookRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request structure for the create webhook request.
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 | 
getAppId()
 The unique ID for an Amplify app. 
 | 
String | 
getBranchName()
 The name for a branch that is part of an Amplify app. 
 | 
String | 
getDescription()
 The description for a webhook. 
 | 
int | 
hashCode()  | 
void | 
setAppId(String appId)
 The unique ID for an Amplify app. 
 | 
void | 
setBranchName(String branchName)
 The name for a branch that is part of an Amplify app. 
 | 
void | 
setDescription(String description)
 The description for a webhook. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateWebhookRequest | 
withAppId(String appId)
 The unique ID for an Amplify app. 
 | 
CreateWebhookRequest | 
withBranchName(String branchName)
 The name for a branch that is part of an Amplify app. 
 | 
CreateWebhookRequest | 
withDescription(String description)
 The description for a webhook. 
 | 
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, withSdkRequestTimeoutpublic void setAppId(String appId)
The unique ID for an Amplify app.
appId - The unique ID for an Amplify app.public String getAppId()
The unique ID for an Amplify app.
public CreateWebhookRequest withAppId(String appId)
The unique ID for an Amplify app.
appId - The unique ID for an Amplify app.public void setBranchName(String branchName)
The name for a branch that is part of an Amplify app.
branchName - The name for a branch that is part of an Amplify app.public String getBranchName()
The name for a branch that is part of an Amplify app.
public CreateWebhookRequest withBranchName(String branchName)
The name for a branch that is part of an Amplify app.
branchName - The name for a branch that is part of an Amplify app.public void setDescription(String description)
The description for a webhook.
description - The description for a webhook.public String getDescription()
The description for a webhook.
public CreateWebhookRequest withDescription(String description)
The description for a webhook.
description - The description for a webhook.public String toString()
toString in class ObjectObject.toString()public CreateWebhookRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()