public class GetBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a get branch operation.
NOOP| Constructor and Description |
|---|
GetBranchRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetBranchRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the branch for which you want to retrieve information.
|
String |
getRepositoryName() |
int |
hashCode() |
void |
setBranchName(String branchName)
The name of the branch for which you want to retrieve information.
|
void |
setRepositoryName(String repositoryName) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetBranchRequest |
withBranchName(String branchName)
The name of the branch for which you want to retrieve information.
|
GetBranchRequest |
withRepositoryName(String repositoryName) |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRepositoryName(String repositoryName)
repositoryName - public String getRepositoryName()
public GetBranchRequest withRepositoryName(String repositoryName)
repositoryName - public void setBranchName(String branchName)
The name of the branch for which you want to retrieve information.
branchName - The name of the branch for which you want to retrieve information.public String getBranchName()
The name of the branch for which you want to retrieve information.
public GetBranchRequest withBranchName(String branchName)
The name of the branch for which you want to retrieve information.
branchName - The name of the branch for which you want to retrieve information.public String toString()
toString in class ObjectObject.toString()public GetBranchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.