@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfileTemplateQuestion extends Object implements Serializable, Cloneable, StructuredPojo
A profile template question.
Constructor and Description |
---|
ProfileTemplateQuestion() |
public void setQuestionId(String questionId)
questionId
- public String getQuestionId()
public ProfileTemplateQuestion withQuestionId(String questionId)
questionId
- public void setQuestionTitle(String questionTitle)
questionTitle
- public String getQuestionTitle()
public ProfileTemplateQuestion withQuestionTitle(String questionTitle)
questionTitle
- public void setQuestionDescription(String questionDescription)
questionDescription
- public String getQuestionDescription()
public ProfileTemplateQuestion withQuestionDescription(String questionDescription)
questionDescription
- public List<ProfileTemplateChoice> getQuestionChoices()
The question choices.
public void setQuestionChoices(Collection<ProfileTemplateChoice> questionChoices)
The question choices.
questionChoices
- The question choices.public ProfileTemplateQuestion withQuestionChoices(ProfileTemplateChoice... questionChoices)
The question choices.
NOTE: This method appends the values to the existing list (if any). Use
setQuestionChoices(java.util.Collection)
or withQuestionChoices(java.util.Collection)
if you
want to override the existing values.
questionChoices
- The question choices.public ProfileTemplateQuestion withQuestionChoices(Collection<ProfileTemplateChoice> questionChoices)
The question choices.
questionChoices
- The question choices.public void setMinSelectedChoices(Integer minSelectedChoices)
The minimum number of choices selected.
minSelectedChoices
- The minimum number of choices selected.public Integer getMinSelectedChoices()
The minimum number of choices selected.
public ProfileTemplateQuestion withMinSelectedChoices(Integer minSelectedChoices)
The minimum number of choices selected.
minSelectedChoices
- The minimum number of choices selected.public void setMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of choices selected.
maxSelectedChoices
- The maximum number of choices selected.public Integer getMaxSelectedChoices()
The maximum number of choices selected.
public ProfileTemplateQuestion withMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of choices selected.
maxSelectedChoices
- The maximum number of choices selected.public String toString()
toString
in class Object
Object.toString()
public ProfileTemplateQuestion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.