Interface Profile.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Profile.Builder,,Profile> SdkBuilder<Profile.Builder,,Profile> SdkPojo
- Enclosing class:
Profile
@Mutable
@NotThreadSafe
public static interface Profile.Builder
extends SdkPojo, CopyableBuilder<Profile.Builder,Profile>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the profile was created.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.The date and time when the profile 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
-
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.Builderavoiding the need to create one manually viaProfileQuestion.builder().When the
Consumercompletes,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
The date and time when the profile was created.
- Parameters:
createdAt- The date and time when the profile 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 was last updated.
- Parameters:
updatedAt- The date and time when the profile was last updated.- 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.
-