@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VoteSummary extends Object implements Serializable, Cloneable, StructuredPojo
Properties of an individual vote that a member cast for a proposal.
Constructor and Description |
---|
VoteSummary() |
Modifier and Type | Method and Description |
---|---|
VoteSummary |
clone() |
boolean |
equals(Object obj) |
String |
getMemberId()
The unique identifier of the member that cast the vote.
|
String |
getMemberName()
The name of the member that cast the vote.
|
String |
getVote()
The vote value, either
YES or NO . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemberId(String memberId)
The unique identifier of the member that cast the vote.
|
void |
setMemberName(String memberName)
The name of the member that cast the vote.
|
void |
setVote(String vote)
The vote value, either
YES or NO . |
String |
toString()
Returns a string representation of this object.
|
VoteSummary |
withMemberId(String memberId)
The unique identifier of the member that cast the vote.
|
VoteSummary |
withMemberName(String memberName)
The name of the member that cast the vote.
|
VoteSummary |
withVote(String vote)
The vote value, either
YES or NO . |
VoteSummary |
withVote(VoteValue vote)
The vote value, either
YES or NO . |
public void setVote(String vote)
The vote value, either YES
or NO
.
vote
- The vote value, either YES
or NO
.VoteValue
public String getVote()
The vote value, either YES
or NO
.
YES
or NO
.VoteValue
public VoteSummary withVote(String vote)
The vote value, either YES
or NO
.
vote
- The vote value, either YES
or NO
.VoteValue
public VoteSummary withVote(VoteValue vote)
The vote value, either YES
or NO
.
vote
- The vote value, either YES
or NO
.VoteValue
public void setMemberName(String memberName)
The name of the member that cast the vote.
memberName
- The name of the member that cast the vote.public String getMemberName()
The name of the member that cast the vote.
public VoteSummary withMemberName(String memberName)
The name of the member that cast the vote.
memberName
- The name of the member that cast the vote.public void setMemberId(String memberId)
The unique identifier of the member that cast the vote.
memberId
- The unique identifier of the member that cast the vote.public String getMemberId()
The unique identifier of the member that cast the vote.
public VoteSummary withMemberId(String memberId)
The unique identifier of the member that cast the vote.
memberId
- The unique identifier of the member that cast the vote.public String toString()
toString
in class Object
Object.toString()
public VoteSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.