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 Details

    • 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 the ProfileQuestion.Builder avoiding the need to create one manually via ProfileQuestion.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to profileQuestions(List<ProfileQuestion>).

      Parameters:
      profileQuestions - a consumer that will call methods on ProfileQuestion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.