Class MirrorSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public MirrorSummary.Builder displayName​(String displayName)
        Display name of the mirror.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • osFamily

        public MirrorSummary.Builder osFamily​(OsFamily osFamily)
        The OS family of the software source.
        Parameters:
        osFamily - the value to set
        Returns:
        this builder
      • archType

        public MirrorSummary.Builder archType​(ArchType archType)
        The architecture type supported by the software source.
        Parameters:
        archType - the value to set
        Returns:
        this builder
      • state

        public MirrorSummary.Builder state​(MirrorState state)
        Current state of the software source mirror.
        Parameters:
        state - the value to set
        Returns:
        this builder
      • percentage

        public MirrorSummary.Builder percentage​(Integer percentage)
        A decimal number representing the percentage of the software source that has been synced.
        Parameters:
        percentage - the value to set
        Returns:
        this builder
      • timeLastSynced

        public MirrorSummary.Builder timeLastSynced​(Date timeLastSynced)
        Time that the software source was last synced (in RFC 3339 format).
        Parameters:
        timeLastSynced - the value to set
        Returns:
        this builder
      • log

        public MirrorSummary.Builder log​(String log)
        The current log from the management station plugin.
        Parameters:
        log - the value to set
        Returns:
        this builder
      • packageCount

        public MirrorSummary.Builder packageCount​(Integer packageCount)
        The number of packages within the mirrored software source.
        Parameters:
        packageCount - the value to set
        Returns:
        this builder
      • size

        public MirrorSummary.Builder size​(Long size)
        The size the mirrored software source in bytes.
        Parameters:
        size - the value to set
        Returns:
        this builder