@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfileQuestion extends Object implements Serializable, Cloneable, StructuredPojo
A profile question.
Constructor and Description |
---|
ProfileQuestion() |
Modifier and Type | Method and Description |
---|---|
ProfileQuestion |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxSelectedChoices()
The maximum number of selected choices.
|
Integer |
getMinSelectedChoices()
The minimum number of selected choices.
|
List<ProfileChoice> |
getQuestionChoices()
The question choices.
|
String |
getQuestionDescription() |
String |
getQuestionId() |
String |
getQuestionTitle() |
List<String> |
getSelectedChoiceIds()
The selected choices.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
|
void |
setMinSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
|
void |
setQuestionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
|
void |
setQuestionDescription(String questionDescription) |
void |
setQuestionId(String questionId) |
void |
setQuestionTitle(String questionTitle) |
void |
setSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
|
String |
toString()
Returns a string representation of this object.
|
ProfileQuestion |
withMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
|
ProfileQuestion |
withMinSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
|
ProfileQuestion |
withQuestionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
|
ProfileQuestion |
withQuestionChoices(ProfileChoice... questionChoices)
The question choices.
|
ProfileQuestion |
withQuestionDescription(String questionDescription) |
ProfileQuestion |
withQuestionId(String questionId) |
ProfileQuestion |
withQuestionTitle(String questionTitle) |
ProfileQuestion |
withSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
|
ProfileQuestion |
withSelectedChoiceIds(String... selectedChoiceIds)
The selected choices.
|
public void setQuestionId(String questionId)
questionId
- public String getQuestionId()
public ProfileQuestion withQuestionId(String questionId)
questionId
- public void setQuestionTitle(String questionTitle)
questionTitle
- public String getQuestionTitle()
public ProfileQuestion withQuestionTitle(String questionTitle)
questionTitle
- public void setQuestionDescription(String questionDescription)
questionDescription
- public String getQuestionDescription()
public ProfileQuestion withQuestionDescription(String questionDescription)
questionDescription
- public List<ProfileChoice> getQuestionChoices()
The question choices.
public void setQuestionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
questionChoices
- The question choices.public ProfileQuestion withQuestionChoices(ProfileChoice... 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 ProfileQuestion withQuestionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
questionChoices
- The question choices.public List<String> getSelectedChoiceIds()
The selected choices.
public void setSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
selectedChoiceIds
- The selected choices.public ProfileQuestion 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 ProfileQuestion withSelectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
selectedChoiceIds
- The selected choices.public void setMinSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
minSelectedChoices
- The minimum number of selected choices.public Integer getMinSelectedChoices()
The minimum number of selected choices.
public ProfileQuestion withMinSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
minSelectedChoices
- The minimum number of selected choices.public void setMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
maxSelectedChoices
- The maximum number of selected choices.public Integer getMaxSelectedChoices()
The maximum number of selected choices.
public ProfileQuestion withMaxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
maxSelectedChoices
- The maximum number of selected choices.public String toString()
toString
in class Object
Object.toString()
public ProfileQuestion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.