Class Photo.PhotoBuilder

java.lang.Object
com.amilesend.onedrive.resource.item.type.Photo.PhotoBuilder
Enclosing class:
Photo

public static class Photo.PhotoBuilder extends Object
  • Method Details

    • takenDateTime

      public Photo.PhotoBuilder takenDateTime(String takenDateTime)
      The date and time the photo was taken.
      Returns:
      this.
    • cameraMake

      public Photo.PhotoBuilder cameraMake(String cameraMake)
      The camera manufacturer.
      Returns:
      this.
    • cameraModel

      public Photo.PhotoBuilder cameraModel(String cameraModel)
      The camera model.
      Returns:
      this.
    • fNumber

      public Photo.PhotoBuilder fNumber(double fNumber)
      The F-stop value from the camera.
      Returns:
      this.
    • exposureDenominator

      public Photo.PhotoBuilder exposureDenominator(double exposureDenominator)
      The denominator for the exposure time fraction from the camera.
      Returns:
      this.
    • exposureNumerator

      public Photo.PhotoBuilder exposureNumerator(double exposureNumerator)
      The numerator for the exposure time fraction from the camera.
      Returns:
      this.
    • focalLength

      public Photo.PhotoBuilder focalLength(double focalLength)
      The focal length from the camera.
      Returns:
      this.
    • iso

      public Photo.PhotoBuilder iso(int iso)
      The ISO value from the camera.
      Returns:
      this.
    • build

      public Photo build()
    • toString

      public String toString()
      Overrides:
      toString in class Object