Interface ProfileTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProfileTemplate.Builder,ProfileTemplate>,SdkBuilder<ProfileTemplate.Builder,ProfileTemplate>,SdkPojo
- Enclosing class:
- ProfileTemplate
public static interface ProfileTemplate.Builder extends SdkPojo, CopyableBuilder<ProfileTemplate.Builder,ProfileTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileTemplate.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.ProfileTemplate.BuildertemplateName(String templateName)The name of the profile template.ProfileTemplate.BuildertemplateQuestions(Collection<ProfileTemplateQuestion> templateQuestions)Profile template questions.ProfileTemplate.BuildertemplateQuestions(Consumer<ProfileTemplateQuestion.Builder>... templateQuestions)Profile template questions.ProfileTemplate.BuildertemplateQuestions(ProfileTemplateQuestion... templateQuestions)Profile template questions.ProfileTemplate.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
templateName
ProfileTemplate.Builder templateName(String 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
ProfileTemplate.Builder templateQuestions(Collection<ProfileTemplateQuestion> 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(ProfileTemplateQuestion... 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 to#templateQuestions(List.) - 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:
#templateQuestions(java.util.Collection)
-
createdAt
ProfileTemplate.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
ProfileTemplate.Builder updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-