@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPullRequestApprovalStatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPullRequestApprovalStatesResult() |
Modifier and Type | Method and Description |
---|---|
GetPullRequestApprovalStatesResult |
clone() |
boolean |
equals(Object obj) |
List<Approval> |
getApprovals()
Information about users who have approved the pull request.
|
int |
hashCode() |
void |
setApprovals(Collection<Approval> approvals)
Information about users who have approved the pull request.
|
String |
toString()
Returns a string representation of this object.
|
GetPullRequestApprovalStatesResult |
withApprovals(Approval... approvals)
Information about users who have approved the pull request.
|
GetPullRequestApprovalStatesResult |
withApprovals(Collection<Approval> approvals)
Information about users who have approved the pull request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Approval> getApprovals()
Information about users who have approved the pull request.
public void setApprovals(Collection<Approval> approvals)
Information about users who have approved the pull request.
approvals
- Information about users who have approved the pull request.public GetPullRequestApprovalStatesResult withApprovals(Approval... approvals)
Information about users who have approved the pull request.
NOTE: This method appends the values to the existing list (if any). Use
setApprovals(java.util.Collection)
or withApprovals(java.util.Collection)
if you want to
override the existing values.
approvals
- Information about users who have approved the pull request.public GetPullRequestApprovalStatesResult withApprovals(Collection<Approval> approvals)
Information about users who have approved the pull request.
approvals
- Information about users who have approved the pull request.public String toString()
toString
in class Object
Object.toString()
public GetPullRequestApprovalStatesResult clone()