@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProposalsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProposalsResult() |
Modifier and Type | Method and Description |
---|---|
ListProposalsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<ProposalSummary> |
getProposals()
The summary of each proposal made on the network.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setProposals(Collection<ProposalSummary> proposals)
The summary of each proposal made on the network.
|
String |
toString()
Returns a string representation of this object.
|
ListProposalsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListProposalsResult |
withProposals(Collection<ProposalSummary> proposals)
The summary of each proposal made on the network.
|
ListProposalsResult |
withProposals(ProposalSummary... proposals)
The summary of each proposal made on the network.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProposalSummary> getProposals()
The summary of each proposal made on the network.
public void setProposals(Collection<ProposalSummary> proposals)
The summary of each proposal made on the network.
proposals
- The summary of each proposal made on the network.public ListProposalsResult withProposals(ProposalSummary... proposals)
The summary of each proposal made on the network.
NOTE: This method appends the values to the existing list (if any). Use
setProposals(java.util.Collection)
or withProposals(java.util.Collection)
if you want to
override the existing values.
proposals
- The summary of each proposal made on the network.public ListProposalsResult withProposals(Collection<ProposalSummary> proposals)
The summary of each proposal made on the network.
proposals
- The summary of each proposal made on the network.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 ListProposalsResult 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 ListProposalsResult clone()