Class SnapSummary.Builder

  • Enclosing class:
    SnapSummary

    public static class SnapSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

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

        public SnapSummary.Builder name​(String name)
        The name of the snap.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • publisher

        public SnapSummary.Builder publisher​(String publisher)
        The publisher of the snap.
        Parameters:
        publisher - the value to set
        Returns:
        this builder
      • revision

        public SnapSummary.Builder revision​(String revision)
        The revision number of the snap channel.
        Parameters:
        revision - the value to set
        Returns:
        this builder
      • storeUrl

        public SnapSummary.Builder storeUrl​(String storeUrl)
        The snap’s store url.
        Parameters:
        storeUrl - the value to set
        Returns:
        this builder
      • timeRefreshed

        public SnapSummary.Builder timeRefreshed​(Date timeRefreshed)
        The date and time of the snap’s last refresh in RFC 3339 format.
        Parameters:
        timeRefreshed - the value to set
        Returns:
        this builder
      • version

        public SnapSummary.Builder version​(String version)
        The version of the snap.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • tracking

        public SnapSummary.Builder tracking​(String tracking)
        The track this snap is following.
        Parameters:
        tracking - the value to set
        Returns:
        this builder