@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBranchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result structure for the update branch request.
| Constructor and Description | 
|---|
| UpdateBranchResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateBranchResult | clone() | 
| boolean | equals(Object obj) | 
| Branch | getBranch()
 The branch for an Amplify app, which maps to a third-party repository branch. | 
| int | hashCode() | 
| void | setBranch(Branch branch)
 The branch for an Amplify app, which maps to a third-party repository branch. | 
| String | toString()Returns a string representation of this object. | 
| UpdateBranchResult | withBranch(Branch branch)
 The branch for an Amplify app, which maps to a third-party repository branch. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setBranch(Branch branch)
The branch for an Amplify app, which maps to a third-party repository branch.
branch - The branch for an Amplify app, which maps to a third-party repository branch.public Branch getBranch()
The branch for an Amplify app, which maps to a third-party repository branch.
public UpdateBranchResult withBranch(Branch branch)
The branch for an Amplify app, which maps to a third-party repository branch.
branch - The branch for an Amplify app, which maps to a third-party repository branch.public String toString()
toString in class ObjectObject.toString()public UpdateBranchResult clone()