public static interface ProfileTemplate.Builder extends SdkPojo, CopyableBuilder<ProfileTemplate.Builder,ProfileTemplate>
| Modifier and Type | Method and Description |
|---|---|
ProfileTemplate.Builder |
createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.
|
ProfileTemplate.Builder |
templateName(String templateName)
The name of the profile template.
|
ProfileTemplate.Builder |
templateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
|
ProfileTemplate.Builder |
templateQuestions(Consumer<ProfileTemplateQuestion.Builder>... templateQuestions)
Profile template questions.
|
ProfileTemplate.Builder |
templateQuestions(ProfileTemplateQuestion... templateQuestions)
Profile template questions.
|
ProfileTemplate.Builder |
updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProfileTemplate.Builder templateName(String templateName)
The name of the profile template.
templateName - The name of the profile template.ProfileTemplate.Builder templateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)
Profile template questions.
templateQuestions - Profile template questions.ProfileTemplate.Builder templateQuestions(ProfileTemplateQuestion... templateQuestions)
Profile template questions.
templateQuestions - Profile template questions.ProfileTemplate.Builder templateQuestions(Consumer<ProfileTemplateQuestion.Builder>... templateQuestions)
Profile template questions.
This is a convenience method that creates an instance of theProfileTemplateQuestion.Builder avoiding the
need to create one manually via
ProfileTemplateQuestion.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #templateQuestions(List.
templateQuestions - a consumer that will call methods on
ProfileTemplateQuestion.Builder#templateQuestions(java.util.Collection) ProfileTemplate.Builder createdAt(Instant createdAt)
createdAt - The new value for the CreatedAt property for this object.ProfileTemplate.Builder updatedAt(Instant updatedAt)
updatedAt - The new value for the UpdatedAt property for this object.Copyright © 2023. All rights reserved.