@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationFormSection extends Object implements Serializable, Cloneable, StructuredPojo
Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
Constructor and Description |
---|
EvaluationFormSection() |
Modifier and Type | Method and Description |
---|---|
EvaluationFormSection |
clone() |
boolean |
equals(Object obj) |
String |
getInstructions()
The instructions of the section.
|
List<EvaluationFormItem> |
getItems()
The items of the section.
|
String |
getRefId()
The identifier of the section.
|
String |
getTitle()
The title of the section.
|
Double |
getWeight()
The scoring weight of the section.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstructions(String instructions)
The instructions of the section.
|
void |
setItems(Collection<EvaluationFormItem> items)
The items of the section.
|
void |
setRefId(String refId)
The identifier of the section.
|
void |
setTitle(String title)
The title of the section.
|
void |
setWeight(Double weight)
The scoring weight of the section.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationFormSection |
withInstructions(String instructions)
The instructions of the section.
|
EvaluationFormSection |
withItems(Collection<EvaluationFormItem> items)
The items of the section.
|
EvaluationFormSection |
withItems(EvaluationFormItem... items)
The items of the section.
|
EvaluationFormSection |
withRefId(String refId)
The identifier of the section.
|
EvaluationFormSection |
withTitle(String title)
The title of the section.
|
EvaluationFormSection |
withWeight(Double weight)
The scoring weight of the section.
|
public void setTitle(String title)
The title of the section.
title
- The title of the section.public String getTitle()
The title of the section.
public EvaluationFormSection withTitle(String title)
The title of the section.
title
- The title of the section.public void setRefId(String refId)
The identifier of the section. An identifier must be unique within the evaluation form.
refId
- The identifier of the section. An identifier must be unique within the evaluation form.public String getRefId()
The identifier of the section. An identifier must be unique within the evaluation form.
public EvaluationFormSection withRefId(String refId)
The identifier of the section. An identifier must be unique within the evaluation form.
refId
- The identifier of the section. An identifier must be unique within the evaluation form.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 EvaluationFormSection withInstructions(String instructions)
The instructions of the section.
instructions
- The instructions of the section.public List<EvaluationFormItem> getItems()
The items of the section.
public void setItems(Collection<EvaluationFormItem> items)
The items of the section.
items
- The items of the section.public EvaluationFormSection withItems(EvaluationFormItem... items)
The items of the section.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The items of the section.public EvaluationFormSection withItems(Collection<EvaluationFormItem> items)
The items of the section.
items
- The items of the section.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 EvaluationFormSection 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 EvaluationFormSection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.