@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; useful for testing and debugging.
|
GetBranchResult |
withBranch(BranchInfo branch)
The name of the branch.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public GetBranchResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.