public class GetBranchRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a get branch operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
branchName
The name of the branch for which you want to retrieve information.
|
private java.lang.String |
repositoryName
The name of the repository that contains the branch for which you want to
retrieve information.
|
NOOP
Constructor and Description |
---|
GetBranchRequest() |
Modifier and Type | Method and Description |
---|---|
GetBranchRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBranchName()
The name of the branch for which you want to retrieve information.
|
java.lang.String |
getRepositoryName()
The name of the repository that contains the branch for which you want to
retrieve information.
|
int |
hashCode() |
void |
setBranchName(java.lang.String branchName)
The name of the branch for which you want to retrieve information.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository that contains the branch for which you want to
retrieve information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetBranchRequest |
withBranchName(java.lang.String branchName)
The name of the branch for which you want to retrieve information.
|
GetBranchRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository that contains the branch for which you want to
retrieve information.
|
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
private java.lang.String repositoryName
The name of the repository that contains the branch for which you want to retrieve information.
private java.lang.String branchName
The name of the branch for which you want to retrieve information.
public void setRepositoryName(java.lang.String repositoryName)
The name of the repository that contains the branch for which you want to retrieve information.
repositoryName
- The name of the repository that contains the branch for which you
want to retrieve information.public java.lang.String getRepositoryName()
The name of the repository that contains the branch for which you want to retrieve information.
public GetBranchRequest withRepositoryName(java.lang.String repositoryName)
The name of the repository that contains the branch for which you want to retrieve information.
repositoryName
- The name of the repository that contains the branch for which you
want to retrieve information.public void setBranchName(java.lang.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 java.lang.String getBranchName()
The name of the branch for which you want to retrieve information.
public GetBranchRequest withBranchName(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()