@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VoteOnProposalRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
VoteOnProposalRequest() |
| Modifier and Type | Method and Description |
|---|---|
VoteOnProposalRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNetworkId()
The unique identifier of the network.
|
String |
getProposalId()
The unique identifier of the proposal.
|
String |
getVote()
The value of the vote.
|
String |
getVoterMemberId()
The unique identifier of the member casting the vote.
|
int |
hashCode() |
void |
setNetworkId(String networkId)
The unique identifier of the network.
|
void |
setProposalId(String proposalId)
The unique identifier of the proposal.
|
void |
setVote(String vote)
The value of the vote.
|
void |
setVoterMemberId(String voterMemberId)
The unique identifier of the member casting the vote.
|
String |
toString()
Returns a string representation of this object.
|
VoteOnProposalRequest |
withNetworkId(String networkId)
The unique identifier of the network.
|
VoteOnProposalRequest |
withProposalId(String proposalId)
The unique identifier of the proposal.
|
VoteOnProposalRequest |
withVote(String vote)
The value of the vote.
|
VoteOnProposalRequest |
withVote(VoteValue vote)
The value of the vote.
|
VoteOnProposalRequest |
withVoterMemberId(String voterMemberId)
The unique identifier of the member casting the vote.
|
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, withSdkRequestTimeoutpublic 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 VoteOnProposalRequest 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 VoteOnProposalRequest withProposalId(String proposalId)
The unique identifier of the proposal.
proposalId - The unique identifier of the proposal.public void setVoterMemberId(String voterMemberId)
The unique identifier of the member casting the vote.
voterMemberId - The unique identifier of the member casting the vote.public String getVoterMemberId()
The unique identifier of the member casting the vote.
public VoteOnProposalRequest withVoterMemberId(String voterMemberId)
The unique identifier of the member casting the vote.
voterMemberId - The unique identifier of the member casting the vote.public void setVote(String vote)
The value of the vote.
vote - The value of the vote.VoteValuepublic String getVote()
The value of the vote.
VoteValuepublic VoteOnProposalRequest withVote(String vote)
The value of the vote.
vote - The value of the vote.VoteValuepublic VoteOnProposalRequest withVote(VoteValue vote)
The value of the vote.
vote - The value of the vote.VoteValuepublic String toString()
toString in class ObjectObject.toString()public VoteOnProposalRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()