@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BranchInfo extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a branch.
Constructor and Description |
---|
BranchInfo() |
Modifier and Type | Method and Description |
---|---|
BranchInfo |
clone() |
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the branch.
|
String |
getCommitId()
The ID of the last commit made to the branch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranchName(String branchName)
The name of the branch.
|
void |
setCommitId(String commitId)
The ID of the last commit made to the branch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BranchInfo |
withBranchName(String branchName)
The name of the branch.
|
BranchInfo |
withCommitId(String commitId)
The ID of the last commit made to the branch.
|
public void setBranchName(String branchName)
The name of the branch.
branchName
- The name of the branch.public String getBranchName()
The name of the branch.
public BranchInfo withBranchName(String branchName)
The name of the branch.
branchName
- The name of the branch.public void setCommitId(String commitId)
The ID of the last commit made to the branch.
commitId
- The ID of the last commit made to the branch.public String getCommitId()
The ID of the last commit made to the branch.
public BranchInfo withCommitId(String commitId)
The ID of the last commit made to the branch.
commitId
- The ID of the last commit made to the branch.public String toString()
toString
in class Object
Object.toString()
public BranchInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.