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
      • streamName

        public ModuleStream.Builder streamName​(String streamName)
        The name of the stream
        Parameters:
        streamName - 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
      • architecture

        public ModuleStream.Builder architecture​(String architecture)
        The architecture for which the packages in this module stream were built
        Parameters:
        architecture - 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 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 APIs that interact directly with packages.

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