@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the branch for which you want to retrieve information.
|
String |
getRepositoryName()
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.
|
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)
The name of the repository that contains the branch for which you want to retrieve information.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(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 String getRepositoryName()
The name of the repository that contains the branch for which you want to retrieve information.
public GetBranchRequest withRepositoryName(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(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 © 2013 Amazon Web Services, Inc. All Rights Reserved.