@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBranchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a get branch operation.
| Constructor and Description |
|---|
GetBranchResult() |
| Modifier and Type | Method and Description |
|---|---|
GetBranchResult |
clone() |
boolean |
equals(Object obj) |
BranchInfo |
getBranch()
The name of the branch.
|
int |
hashCode() |
void |
setBranch(BranchInfo branch)
The name of the branch.
|
String |
toString()
Returns a string representation of this object.
|
GetBranchResult |
withBranch(BranchInfo branch)
The name of the branch.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setBranch(BranchInfo branch)
The name of the branch.
branch - The name of the branch.public BranchInfo getBranch()
The name of the branch.
public GetBranchResult withBranch(BranchInfo branch)
The name of the branch.
branch - The name of the branch.public String toString()
toString in class ObjectObject.toString()public GetBranchResult clone()