Class Attachment.CreateAttachmentBuilder

  • Enclosing class:
    Attachment

    public static class Attachment.CreateAttachmentBuilder
    extends java.lang.Object
    A convenience class for quickly creating a List of cells to update.
    • Constructor Detail

      • CreateAttachmentBuilder

        public CreateAttachmentBuilder()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        The name.
      • getUrl

        public java.lang.String getUrl()
        Gets the URL.
        Returns:
        The url.
      • getAttachmentType

        public AttachmentType getAttachmentType()
        Gets the attachment type.
        Returns:
        the attachment type
      • getAttachmentSubType

        public AttachmentSubType getAttachmentSubType()
        Gets the attachment sub type.
        Returns:
        the attachment sub type
      • getDescription

        public java.lang.String getDescription()
        Gets the attachment description.
        Returns:
        the attachment description.
      • setDescription

        public Attachment.CreateAttachmentBuilder setDescription​(java.lang.String description)
        Sets the attachment description.
        Parameters:
        description - the description
        Returns:
        the builder object
      • build

        public Attachment build()
        Returns the list of cells.
        Returns:
        the list