@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProposalVotesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProposalVotesResult() |
Modifier and Type | Method and Description |
---|---|
ListProposalVotesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<VoteSummary> |
getProposalVotes()
The list of votes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setProposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
|
String |
toString()
Returns a string representation of this object.
|
ListProposalVotesResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListProposalVotesResult |
withProposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
|
ListProposalVotesResult |
withProposalVotes(VoteSummary... proposalVotes)
The list of votes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VoteSummary> getProposalVotes()
The list of votes.
public void setProposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
proposalVotes
- The list of votes.public ListProposalVotesResult withProposalVotes(VoteSummary... proposalVotes)
The list of votes.
NOTE: This method appends the values to the existing list (if any). Use
setProposalVotes(java.util.Collection)
or withProposalVotes(java.util.Collection)
if you want
to override the existing values.
proposalVotes
- The list of votes.public ListProposalVotesResult withProposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
proposalVotes
- The list of votes.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListProposalVotesResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListProposalVotesResult clone()