@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a delete branch operation.
NOOP| Constructor and Description |
|---|
DeleteBranchRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteBranchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the branch to delete.
|
String |
getRepositoryName()
The name of the repository that contains the branch to be deleted.
|
int |
hashCode() |
void |
setBranchName(String branchName)
The name of the branch to delete.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the branch to be deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteBranchRequest |
withBranchName(String branchName)
The name of the branch to delete.
|
DeleteBranchRequest |
withRepositoryName(String repositoryName)
The name of the repository that contains the branch to be deleted.
|
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 setRepositoryName(String repositoryName)
The name of the repository that contains the branch to be deleted.
repositoryName - The name of the repository that contains the branch to be deleted.public String getRepositoryName()
The name of the repository that contains the branch to be deleted.
public DeleteBranchRequest withRepositoryName(String repositoryName)
The name of the repository that contains the branch to be deleted.
repositoryName - The name of the repository that contains the branch to be deleted.public void setBranchName(String branchName)
The name of the branch to delete.
branchName - The name of the branch to delete.public String getBranchName()
The name of the branch to delete.
public DeleteBranchRequest withBranchName(String branchName)
The name of the branch to delete.
branchName - The name of the branch to delete.public String toString()
toString in class ObjectObject.toString()public DeleteBranchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()