@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfileTemplate extends Object implements Serializable, Cloneable, StructuredPojo
The profile template.
| Constructor and Description |
|---|
ProfileTemplate() |
| Modifier and Type | Method and Description |
|---|---|
ProfileTemplate |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt() |
String |
getTemplateName()
The name of the profile template.
|
List<ProfileTemplateQuestion> |
getTemplateQuestions()
Profile template questions.
|
Date |
getUpdatedAt() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCreatedAt(Date createdAt) |
void |
setTemplateName(String templateName)
The name of the profile template.
|
void |
setTemplateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
|
void |
setUpdatedAt(Date updatedAt) |
String |
toString()
Returns a string representation of this object.
|
ProfileTemplate |
withCreatedAt(Date createdAt) |
ProfileTemplate |
withTemplateName(String templateName)
The name of the profile template.
|
ProfileTemplate |
withTemplateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
|
ProfileTemplate |
withTemplateQuestions(ProfileTemplateQuestion... templateQuestions)
Profile template questions.
|
ProfileTemplate |
withUpdatedAt(Date updatedAt) |
public void setTemplateName(String templateName)
The name of the profile template.
templateName - The name of the profile template.public String getTemplateName()
The name of the profile template.
public ProfileTemplate withTemplateName(String templateName)
The name of the profile template.
templateName - The name of the profile template.public List<ProfileTemplateQuestion> getTemplateQuestions()
Profile template questions.
public void setTemplateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
templateQuestions - Profile template questions.public ProfileTemplate withTemplateQuestions(ProfileTemplateQuestion... templateQuestions)
Profile template questions.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateQuestions(java.util.Collection) or withTemplateQuestions(java.util.Collection) if
you want to override the existing values.
templateQuestions - Profile template questions.public ProfileTemplate withTemplateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
templateQuestions - Profile template questions.public void setCreatedAt(Date createdAt)
createdAt - public Date getCreatedAt()
public ProfileTemplate withCreatedAt(Date createdAt)
createdAt - public void setUpdatedAt(Date updatedAt)
updatedAt - public Date getUpdatedAt()
public ProfileTemplate withUpdatedAt(Date updatedAt)
updatedAt - public String toString()
toString in class ObjectObject.toString()public ProfileTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.