Class ModuleStream.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • moduleName

        public ModuleStream.Builder moduleName​(String moduleName)
        The name of the module that contains the stream.
        Parameters:
        moduleName - the value to set
        Returns:
        this builder
      • name

        public ModuleStream.Builder name​(String name)
        The name of the stream.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • isDefault

        public ModuleStream.Builder isDefault​(Boolean isDefault)
        Indicates if this stream is the default for its module.
        Parameters:
        isDefault - the value to set
        Returns:
        this builder
      • softwareSourceId

        public ModuleStream.Builder softwareSourceId​(String softwareSourceId)
        The OCID of the software source that provides this module stream.
        Parameters:
        softwareSourceId - the value to set
        Returns:
        this builder
      • archType

        public ModuleStream.Builder archType​(ArchType archType)
        The architecture for which the packages in this module stream were built.
        Parameters:
        archType - the value to set
        Returns:
        this builder
      • description

        public ModuleStream.Builder description​(String description)
        A description of the contents of the module stream.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • profiles

        public ModuleStream.Builder profiles​(List<String> profiles)
        A list of profiles that are part of the stream.

        Each element in the list is the name of a profile. The name is suitable to use as an argument to other OS Management Hub APIs that interact directly with module stream profiles. However, it is not URL encoded.

        Parameters:
        profiles - the value to set
        Returns:
        this builder
      • packages

        public ModuleStream.Builder packages​(List<String> packages)
        A list of packages that are contained by the stream.

        Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management Hub APIs that interact directly with packages.

        Parameters:
        packages - the value to set
        Returns:
        this builder
      • isLatest

        public ModuleStream.Builder isLatest​(Boolean isLatest)
        Indicates whether this module stream is the latest.
        Parameters:
        isLatest - the value to set
        Returns:
        this builder