@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProposalVotesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListProposalVotesRequest() |
Modifier and Type | Method and Description |
---|---|
ListProposalVotesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of votes to return.
|
String |
getNetworkId()
The unique identifier of the network.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
String |
getProposalId()
The unique identifier of the proposal.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of votes to return.
|
void |
setNetworkId(String networkId)
The unique identifier of the network.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setProposalId(String proposalId)
The unique identifier of the proposal.
|
String |
toString()
Returns a string representation of this object.
|
ListProposalVotesRequest |
withMaxResults(Integer maxResults)
The maximum number of votes to return.
|
ListProposalVotesRequest |
withNetworkId(String networkId)
The unique identifier of the network.
|
ListProposalVotesRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListProposalVotesRequest |
withProposalId(String proposalId)
The unique identifier of the proposal.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNetworkId(String networkId)
The unique identifier of the network.
networkId
- The unique identifier of the network.public String getNetworkId()
The unique identifier of the network.
public ListProposalVotesRequest withNetworkId(String networkId)
The unique identifier of the network.
networkId
- The unique identifier of the network.public void setProposalId(String proposalId)
The unique identifier of the proposal.
proposalId
- The unique identifier of the proposal.public String getProposalId()
The unique identifier of the proposal.
public ListProposalVotesRequest withProposalId(String proposalId)
The unique identifier of the proposal.
proposalId
- The unique identifier of the proposal.public void setMaxResults(Integer maxResults)
The maximum number of votes to return.
maxResults
- The maximum number of votes to return.public Integer getMaxResults()
The maximum number of votes to return.
public ListProposalVotesRequest withMaxResults(Integer maxResults)
The maximum number of votes to return.
maxResults
- The maximum number of votes to return.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 ListProposalVotesRequest 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 ListProposalVotesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()