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 AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe 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.inthashCode()voidsetBranchName(String branchName) The name of the branch for which you want to retrieve information.voidsetRepositoryName(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 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
-
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:
-