@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationFormQuestion extends Object implements Serializable, Cloneable, StructuredPojo
Information about a question from an evaluation form.
Constructor and Description |
---|
EvaluationFormQuestion() |
Modifier and Type | Method and Description |
---|---|
EvaluationFormQuestion |
clone() |
boolean |
equals(Object obj) |
String |
getInstructions()
The instructions of the section.
|
Boolean |
getNotApplicableEnabled()
The flag to enable not applicable answers to the question.
|
String |
getQuestionType()
The type of the question.
|
EvaluationFormQuestionTypeProperties |
getQuestionTypeProperties()
The properties of the type of question.
|
String |
getRefId()
The identifier of the question.
|
String |
getTitle()
The title of the question.
|
Double |
getWeight()
The scoring weight of the section.
|
int |
hashCode() |
Boolean |
isNotApplicableEnabled()
The flag to enable not applicable answers to the question.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstructions(String instructions)
The instructions of the section.
|
void |
setNotApplicableEnabled(Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
|
void |
setQuestionType(String questionType)
The type of the question.
|
void |
setQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question.
|
void |
setRefId(String refId)
The identifier of the question.
|
void |
setTitle(String title)
The title of the question.
|
void |
setWeight(Double weight)
The scoring weight of the section.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationFormQuestion |
withInstructions(String instructions)
The instructions of the section.
|
EvaluationFormQuestion |
withNotApplicableEnabled(Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
|
EvaluationFormQuestion |
withQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
|
EvaluationFormQuestion |
withQuestionType(String questionType)
The type of the question.
|
EvaluationFormQuestion |
withQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question.
|
EvaluationFormQuestion |
withRefId(String refId)
The identifier of the question.
|
EvaluationFormQuestion |
withTitle(String title)
The title of the question.
|
EvaluationFormQuestion |
withWeight(Double weight)
The scoring weight of the section.
|
public void setTitle(String title)
The title of the question.
title
- The title of the question.public String getTitle()
The title of the question.
public EvaluationFormQuestion withTitle(String title)
The title of the question.
title
- The title of the question.public void setInstructions(String instructions)
The instructions of the section.
instructions
- The instructions of the section.public String getInstructions()
The instructions of the section.
public EvaluationFormQuestion withInstructions(String instructions)
The instructions of the section.
instructions
- The instructions of the section.public void setRefId(String refId)
The identifier of the question. An identifier must be unique within the evaluation form.
refId
- The identifier of the question. An identifier must be unique within the evaluation form.public String getRefId()
The identifier of the question. An identifier must be unique within the evaluation form.
public EvaluationFormQuestion withRefId(String refId)
The identifier of the question. An identifier must be unique within the evaluation form.
refId
- The identifier of the question. An identifier must be unique within the evaluation form.public void setNotApplicableEnabled(Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
notApplicableEnabled
- The flag to enable not applicable answers to the question.public Boolean getNotApplicableEnabled()
The flag to enable not applicable answers to the question.
public EvaluationFormQuestion withNotApplicableEnabled(Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
notApplicableEnabled
- The flag to enable not applicable answers to the question.public Boolean isNotApplicableEnabled()
The flag to enable not applicable answers to the question.
public void setQuestionType(String questionType)
The type of the question.
questionType
- The type of the question.EvaluationFormQuestionType
public String getQuestionType()
The type of the question.
EvaluationFormQuestionType
public EvaluationFormQuestion withQuestionType(String questionType)
The type of the question.
questionType
- The type of the question.EvaluationFormQuestionType
public EvaluationFormQuestion withQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
questionType
- The type of the question.EvaluationFormQuestionType
public void setQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question. Text questions do not have to define question type properties.
questionTypeProperties
- The properties of the type of question. Text questions do not have to define question type properties.public EvaluationFormQuestionTypeProperties getQuestionTypeProperties()
The properties of the type of question. Text questions do not have to define question type properties.
public EvaluationFormQuestion withQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question. Text questions do not have to define question type properties.
questionTypeProperties
- The properties of the type of question. Text questions do not have to define question type properties.public void setWeight(Double weight)
The scoring weight of the section.
weight
- The scoring weight of the section.public Double getWeight()
The scoring weight of the section.
public EvaluationFormQuestion withWeight(Double weight)
The scoring weight of the section.
weight
- The scoring weight of the section.public String toString()
toString
in class Object
Object.toString()
public EvaluationFormQuestion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.