Interface Photo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Photo.Builder,Photo>, SdkBuilder<Photo.Builder,Photo>, SdkPojo
Enclosing class:
Photo

@Mutable @NotThreadSafe public static interface Photo.Builder extends SdkPojo, CopyableBuilder<Photo.Builder,Photo>
  • Method Details

    • value

      Photo.Builder value(String value)

      The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.

      Parameters:
      value - The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Photo.Builder type(String type)

      The type of photo. This field is optional and can be used to categorize different types of photos.

      Parameters:
      type - The type of photo. This field is optional and can be used to categorize different types of photos.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • display

      Photo.Builder display(String display)

      A human-readable description of the photo for display purposes. This optional field provides context about the photo.

      Parameters:
      display - A human-readable description of the photo for display purposes. This optional field provides context about the photo.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primary

      Photo.Builder primary(Boolean primary)

      Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.

      Parameters:
      primary - Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.