Class GetBranchRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codecommit.model.GetBranchRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a get branch operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the branch for which you want to retrieve information.The name of the repository that contains the branch for which you want to retrieve information.int
hashCode()
void
setBranchName
(String branchName) The name of the branch for which you want to retrieve information.void
setRepositoryName
(String repositoryName) The name of the repository that contains the branch for which you want to retrieve information.toString()
Returns a string representation of this object; useful for testing and debugging.withBranchName
(String branchName) The name of the branch for which you want to retrieve information.withRepositoryName
(String repositoryName) The name of the repository that contains the branch for which you want to retrieve information.Methods inherited from class com.amazonaws.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
-
GetBranchRequest
public GetBranchRequest()
-
-
Method Details
-
setRepositoryName
The name of the repository that contains the branch for which you want to retrieve information.
- Parameters:
repositoryName
- The name of the repository that contains the branch for which you want to retrieve information.
-
getRepositoryName
The name of the repository that contains the branch for which you want to retrieve information.
- Returns:
- The name of the repository that contains the branch for which you want to retrieve information.
-
withRepositoryName
The name of the repository that contains the branch for which you want to retrieve information.
- Parameters:
repositoryName
- The name of the repository that contains the branch for which you want to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBranchName
The name of the branch for which you want to retrieve information.
- Parameters:
branchName
- The name of the branch for which you want to retrieve information.
-
getBranchName
The name of the branch for which you want to retrieve information.
- Returns:
- The name of the branch for which you want to retrieve information.
-
withBranchName
The name of the branch for which you want to retrieve information.
- Parameters:
branchName
- The name of the branch for which you want to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-