Class CreateBranchRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codecommit.model.CreateBranchRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Represents the input of a create branch operation.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the new branch to create.The ID of the commit to point the new branch to.The name of the repository in which you want to create the new branch.inthashCode()voidsetBranchName(String branchName) The name of the new branch to create.voidsetCommitId(String commitId) The ID of the commit to point the new branch to.voidsetRepositoryName(String repositoryName) The name of the repository in which you want to create the new branch.toString()Returns a string representation of this object; useful for testing and debugging.withBranchName(String branchName) The name of the new branch to create.withCommitId(String commitId) The ID of the commit to point the new branch to.withRepositoryName(String repositoryName) The name of the repository in which you want to create the new branch.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateBranchRequest
public CreateBranchRequest()
-
-
Method Details
-
setRepositoryName
The name of the repository in which you want to create the new branch.
- Parameters:
repositoryName- The name of the repository in which you want to create the new branch.
-
getRepositoryName
The name of the repository in which you want to create the new branch.
- Returns:
- The name of the repository in which you want to create the new branch.
-
withRepositoryName
The name of the repository in which you want to create the new branch.
- Parameters:
repositoryName- The name of the repository in which you want to create the new branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBranchName
The name of the new branch to create.
- Parameters:
branchName- The name of the new branch to create.
-
getBranchName
The name of the new branch to create.
- Returns:
- The name of the new branch to create.
-
withBranchName
The name of the new branch to create.
- Parameters:
branchName- The name of the new branch to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCommitId
The ID of the commit to point the new branch to.
- Parameters:
commitId- The ID of the commit to point the new branch to.
-
getCommitId
The ID of the commit to point the new branch to.
- Returns:
- The ID of the commit to point the new branch to.
-
withCommitId
The ID of the commit to point the new branch to.
- Parameters:
commitId- The ID of the commit to point the new branch to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-