Class MinimalFileLinkMetadata.Builder

    • Field Detail

      • url

        protected final java.lang.String url
      • rev

        protected final java.lang.String rev
      • id

        protected java.lang.String id
      • path

        protected java.lang.String path
    • Constructor Detail

      • Builder

        protected Builder​(java.lang.String url,
                          java.lang.String rev)
    • Method Detail

      • withId

        public MinimalFileLinkMetadata.Builder withId​(java.lang.String id)
        Set value for optional field.
        Parameters:
        id - Unique identifier for the linked file. Must have length of at least 1.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withPath

        public MinimalFileLinkMetadata.Builder withPath​(java.lang.String path)
        Set value for optional field.
        Parameters:
        path - Full path in the user's Dropbox. This always starts with a slash. This field will only be present only if the linked file is in the authenticated user's Dropbox.
        Returns:
        this builder