Interface Profile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Profile.Builder,
,Profile> SdkBuilder<Profile.Builder,
,Profile> SdkPojo
- Enclosing class:
Profile
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the CreatedAt property for this object.Sets the value of the Owner property for this object.profileArn
(String profileArn) The profile ARN.profileDescription
(String profileDescription) The profile description.profileName
(String profileName) The profile name.profileQuestions
(Collection<ProfileQuestion> profileQuestions) Profile questions.profileQuestions
(Consumer<ProfileQuestion.Builder>... profileQuestions) Profile questions.profileQuestions
(ProfileQuestion... profileQuestions) Profile questions.profileVersion
(String profileVersion) The profile version.shareInvitationId
(String shareInvitationId) The ID assigned to the share invitation.The tags assigned to the profile.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 Details
-
profileArn
The profile ARN.
- Parameters:
profileArn
- The profile ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileVersion
The profile version.
- Parameters:
profileVersion
- The profile version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileName
The profile name.
- Parameters:
profileName
- The profile name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileDescription
The profile description.
- Parameters:
profileDescription
- The profile description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile questions.
- Parameters:
profileQuestions
- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile questions.
- Parameters:
profileQuestions
- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile questions.
This is a convenience method that creates an instance of theProfileQuestion.Builder
avoiding the need to create one manually viaProfileQuestion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofileQuestions(List<ProfileQuestion>)
.- Parameters:
profileQuestions
- a consumer that will call methods onProfileQuestion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
Sets the value of the Owner property for this object.- Parameters:
owner
- The new value for the Owner property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-
tags
The tags assigned to the profile.
- Parameters:
tags
- The tags assigned to the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-