@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfileQuestionUpdate extends Object implements Serializable, Cloneable, StructuredPojo
An update to a profile question.
Constructor and Description |
---|
ProfileQuestionUpdate() |
Modifier and Type | Method and Description |
---|---|
ProfileQuestionUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getQuestionId() |
List<String> |
getSelectedChoiceIds()
The selected choices.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQuestionId(String questionId) |
void |
setSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
|
String |
toString()
Returns a string representation of this object.
|
ProfileQuestionUpdate |
withQuestionId(String questionId) |
ProfileQuestionUpdate |
withSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
|
ProfileQuestionUpdate |
withSelectedChoiceIds(String... selectedChoiceIds)
The selected choices.
|
public void setQuestionId(String questionId)
questionId
- public String getQuestionId()
public ProfileQuestionUpdate withQuestionId(String questionId)
questionId
- public List<String> getSelectedChoiceIds()
The selected choices.
public void setSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
selectedChoiceIds
- The selected choices.public ProfileQuestionUpdate withSelectedChoiceIds(String... selectedChoiceIds)
The selected choices.
NOTE: This method appends the values to the existing list (if any). Use
setSelectedChoiceIds(java.util.Collection)
or withSelectedChoiceIds(java.util.Collection)
if
you want to override the existing values.
selectedChoiceIds
- The selected choices.public ProfileQuestionUpdate withSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
selectedChoiceIds
- The selected choices.public String toString()
toString
in class Object
Object.toString()
public ProfileQuestionUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.