Interface Profile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Profile.Builder,Profile>,SdkBuilder<Profile.Builder,Profile>,SdkPojo
- Enclosing class:
- Profile
public static interface Profile.Builder extends SdkPojo, CopyableBuilder<Profile.Builder,Profile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Profile.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.Profile.Builderowner(String owner)Sets the value of the Owner property for this object.Profile.BuilderprofileArn(String profileArn)The profile ARN.Profile.BuilderprofileDescription(String profileDescription)The profile description.Profile.BuilderprofileName(String profileName)The profile name.Profile.BuilderprofileQuestions(Collection<ProfileQuestion> profileQuestions)Profile questions.Profile.BuilderprofileQuestions(Consumer<ProfileQuestion.Builder>... profileQuestions)Profile questions.Profile.BuilderprofileQuestions(ProfileQuestion... profileQuestions)Profile questions.Profile.BuilderprofileVersion(String profileVersion)The profile version.Profile.BuildershareInvitationId(String shareInvitationId)The ID assigned to the share invitation.Profile.Buildertags(Map<String,String> tags)The tags assigned to the profile.Profile.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
-
profileArn
Profile.Builder profileArn(String 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
Profile.Builder profileVersion(String 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
Profile.Builder profileName(String 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
Profile.Builder profileDescription(String 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.Builder profileQuestions(Collection<ProfileQuestion> profileQuestions)
Profile questions.
- Parameters:
profileQuestions- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile.Builder profileQuestions(ProfileQuestion... profileQuestions)
Profile questions.
- Parameters:
profileQuestions- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile.Builder profileQuestions(Consumer<ProfileQuestion.Builder>... 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 to#profileQuestions(List.) - 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:
#profileQuestions(java.util.Collection)
-
owner
Profile.Builder owner(String 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
Profile.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
Profile.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.
-
shareInvitationId
Profile.Builder shareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
- Parameters:
shareInvitationId- The ID assigned to the share invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Profile.Builder tags(Map<String,String> 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.
-
-