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()
Returns the value of the RepositoryName property for this object.
|
int |
hashCode() |
void |
setBranchName(String branchName)
The name of the branch for which you want to retrieve information.
|
void |
setRepositoryName(String repositoryName)
Sets the value of the RepositoryName property for this object.
|
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)
Sets the value of the RepositoryName property for this object.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setRepositoryName(String repositoryName)
repositoryName
- The new value for the RepositoryName property for this object.public String getRepositoryName()
public GetBranchRequest withRepositoryName(String repositoryName)
repositoryName
- The new value for the RepositoryName property for this object.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 Object
Object.toString()
public GetBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.