Class Screenshot.Builder

  • Enclosing class:
    Screenshot

    public static class Screenshot.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Screenshot.Builder name​(String name)
        The name of the screenshot.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public Screenshot.Builder description​(String description)
        A description of the screenshot.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • contentUrl

        public Screenshot.Builder contentUrl​(String contentUrl)
        The content URL of the screenshot.
        Parameters:
        contentUrl - the value to set
        Returns:
        this builder
      • mimeType

        public Screenshot.Builder mimeType​(String mimeType)
        The MIME type of the screenshot.
        Parameters:
        mimeType - the value to set
        Returns:
        this builder
      • fileExtension

        public Screenshot.Builder fileExtension​(String fileExtension)
        The file extension of the screenshot.
        Parameters:
        fileExtension - the value to set
        Returns:
        this builder