@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a create branch operation.
NOOP
Constructor and Description |
---|
CreateBranchRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBranchRequest |
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 new branch to create.
|
String |
getCommitId()
The ID of the commit to point the new branch to.
|
String |
getRepositoryName()
The name of the repository in which you want to create the new branch.
|
int |
hashCode() |
void |
setBranchName(String branchName)
The name of the new branch to create.
|
void |
setCommitId(String commitId)
The ID of the commit to point the new branch to.
|
void |
setRepositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateBranchRequest |
withBranchName(String branchName)
The name of the new branch to create.
|
CreateBranchRequest |
withCommitId(String commitId)
The ID of the commit to point the new branch to.
|
CreateBranchRequest |
withRepositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
|
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 setRepositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
repositoryName
- The name of the repository in which you want to create the new branch.public String getRepositoryName()
The name of the repository in which you want to create the new branch.
public CreateBranchRequest withRepositoryName(String repositoryName)
The name of the repository in which you want to create the new branch.
repositoryName
- The name of the repository in which you want to create the new branch.public void setBranchName(String branchName)
The name of the new branch to create.
branchName
- The name of the new branch to create.public String getBranchName()
The name of the new branch to create.
public CreateBranchRequest withBranchName(String branchName)
The name of the new branch to create.
branchName
- The name of the new branch to create.public void setCommitId(String commitId)
The ID of the commit to point the new branch to.
commitId
- The ID of the commit to point the new branch to.public String getCommitId()
The ID of the commit to point the new branch to.
public CreateBranchRequest withCommitId(String commitId)
The ID of the commit to point the new branch to.
commitId
- The ID of the commit to point the new branch to.public String toString()
toString
in class Object
Object.toString()
public CreateBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.