Interface ProfileTemplate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProfileTemplate.Builder,,ProfileTemplate> SdkBuilder<ProfileTemplate.Builder,,ProfileTemplate> SdkPojo
- Enclosing class:
ProfileTemplate
@Mutable
@NotThreadSafe
public static interface ProfileTemplate.Builder
extends SdkPojo, CopyableBuilder<ProfileTemplate.Builder,ProfileTemplate>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the profile template was created.templateName(String templateName) The name of the profile template.templateQuestions(Collection<ProfileTemplateQuestion> templateQuestions) Profile template questions.templateQuestions(Consumer<ProfileTemplateQuestion.Builder>... templateQuestions) Profile template questions.templateQuestions(ProfileTemplateQuestion... templateQuestions) Profile template questions.The date and time when the profile template was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
templateName
The name of the profile template.
- Parameters:
templateName- The name of the profile template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateQuestions
Profile template questions.
- Parameters:
templateQuestions- Profile template questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateQuestions
Profile template questions.
- Parameters:
templateQuestions- Profile template questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateQuestions
ProfileTemplate.Builder templateQuestions(Consumer<ProfileTemplateQuestion.Builder>... templateQuestions) Profile template questions.
This is a convenience method that creates an instance of theProfileTemplateQuestion.Builderavoiding the need to create one manually viaProfileTemplateQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateQuestions(List<ProfileTemplateQuestion>).- Parameters:
templateQuestions- a consumer that will call methods onProfileTemplateQuestion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time when the profile template was created.
- Parameters:
createdAt- The date and time when the profile template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the profile template was last updated.
- Parameters:
updatedAt- The date and time when the profile template was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-